public function HumansTxtBasicTest::testHumansTxtCacheTags in Humans.txt 8
Same name and namespace in other branches
- 2.x tests/src/Functional/HumansTxtBasicTest.php \Drupal\Tests\humanstxt\Functional\HumansTxtBasicTest::testHumansTxtCacheTags()
Checks if cache tags exists.
File
- tests/
src/ Functional/ HumansTxtBasicTest.php, line 87
Class
- HumansTxtBasicTest
- Tests basic functionality of configured humans.txt files.
Namespace
Drupal\Tests\humanstxt\FunctionalCode
public function testHumansTxtCacheTags() {
$this
->drupalGet('humans.txt');
$this
->assertResponse(200);
$this
->assertCacheTag('humanstxt');
}