Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / system / tests / src / Functional / System / AdminMetaTagTest.php
1 <?php
2
3 namespace Drupal\Tests\system\Functional\System;
4
5 use Drupal\Tests\BrowserTestBase;
6
7 /**
8  * Confirm that the fingerprinting meta tag appears as expected.
9  *
10  * @group system
11  */
12 class AdminMetaTagTest extends BrowserTestBase {
13
14   /**
15    * Verify that the meta tag HTML is generated correctly.
16    */
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');
22   }
23
24 }