3 namespace Drupal\Tests\system\Functional\System;
5 use Drupal\Tests\BrowserTestBase;
8 * Confirm that the fingerprinting meta tag appears as expected.
12 class AdminMetaTagTest extends BrowserTestBase {
14 * Verify that the meta tag HTML is generated correctly.
16 public function testMetaTag() {
17 list($version, ) = explode('.', \Drupal::VERSION);
18 $string = '<meta name="Generator" content="Drupal ' . $version . ' (https://www.drupal.org)" />';
19 $this->drupalGet('node');
20 $this->assertRaw($string, 'Fingerprinting meta tag generated correctly.', 'System');