| 7 system.test | public AdminMetaTagTestCase::testMetaTag() |
| 8 system.test | public AdminMetaTagTestCase::testMetaTag() |
Verify that the meta tag HTML is generated correctly.
File
- modules/
system/ system.test, line 885 - Tests for system.module.
Code
public function testMetaTag() {
list($version, ) = explode('.', VERSION);
$string = '<meta name="Generator" content="Drupal ' . $version . ' (http://drupal.org)" />';
$this->drupalGet('node');
$this->assertRaw($string, t('Fingerprinting meta tag generated correctly.'), t('System'));
}
Login or register to post comments