public function AdminMetaTagTestCase::testMetaTag

Verify that the meta tag HTML is generated correctly.

Archivo

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

Class

AdminMetaTagTestCase

Código

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');
}