You are here

public function EnsureDevelWorks::testNode in Metatag 8

Make sure that the system still works when some example content exists.

File

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

Class

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

Namespace

Drupal\Tests\metatag\Functional

Code

public function testNode() {
  $node = $this
    ->createContentTypeNode();
  $this
    ->drupalGet($node
    ->toUrl());
  $this
    ->assertResponse(200);
}