public function AdminMetaTagTestCase::testMetaTag

7.x system.test public AdminMetaTagTestCase::testMetaTag()

Verify that the meta tag HTML is generated correctly.

File

drupal-7.x/modules/system/system.test, line 885
Tests for system.module.

Class

AdminMetaTagTestCase

Code

public function testMetaTag() {
  list($version, ) = explode('.', VERSION);
  $string = '<meta name="Generator" content="Drupal ' . $version . ' (http://drupal.org)" />';
  $this->drupalGet('node');
  $this->assertRaw($string, 'Fingerprinting meta tag generated correctly.', 'System');
}