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 {
15 * Verify that the meta tag HTML is generated correctly.
17 public function testMetaTag() {
18 list($version,) = explode('.', \Drupal::VERSION);
19 $string = '<meta name="Generator" content="Drupal ' . $version . ' (https://www.drupal.org)" />';
20 $this->drupalGet('node');
21 $this->assertRaw($string, 'Fingerprinting meta tag generated correctly.', 'System');