3 namespace Drupal\Tests\metatag\Functional;
5 use Drupal\Tests\BrowserTestBase;
8 * Verify that enabling Devel don't cause the site to blow up.
12 class EnsureDevelWorks extends BrowserTestBase {
14 // Contains helper methods.
15 use MetatagHelperTrait;
20 public static $modules = [
21 // Modules for core functionality.
27 // Contrib dependencies.
33 // Use the custom route to verify the site works.
34 'metatag_test_custom_route',
36 // The modules to test.
41 * Load the custom route, make sure something is output.
43 public function testCustomRoute() {
44 $this->drupalGet('metatag_test_custom_route');
45 $this->assertResponse(200);
46 $this->assertText('Hello world!');
50 * Make sure that the system still works when some example content exists.
52 public function testNode() {
53 $node = $this->createContentTypeNode();
54 $this->drupalGet($node->toUrl());
55 $this->assertResponse(200);