AdminMetaTagTest.php in Zircon Profile 8.0
File
core/modules/system/src/Tests/System/AdminMetaTagTest.php
View source
<?php
namespace Drupal\system\Tests\System;
use Drupal\simpletest\WebTestBase;
class AdminMetaTagTest extends WebTestBase {
public function testMetaTag() {
list($version, ) = explode('.', \Drupal::VERSION);
$string = '<meta name="Generator" content="Drupal ' . $version . ' (https://www.drupal.org)" />';
$this
->drupalGet('node');
$this
->assertRaw($string, 'Fingerprinting meta tag generated correctly.', 'System');
}
}