You are here

public function EnsureDevelWorks::testCustomRoute in Metatag 8

Load the custom route, make sure something is output.

File

tests/src/Functional/EnsureDevelWorks.php, line 48

Class

EnsureDevelWorks
Verify that enabling Devel won't cause the site to blow up.

Namespace

Drupal\Tests\metatag\Functional

Code

public function testCustomRoute() {
  $this
    ->drupalGet('metatag_test_custom_route');
  $this
    ->assertResponse(200);
  $this
    ->assertText('Hello world!');
}