diff --git a/metatag_views/tests/src/Functional/MetatagViewsBasicsTest.php b/metatag_views/tests/src/Functional/MetatagViewsBasicsTest.php new file mode 100644 index 0000000..9e2e700 --- /dev/null +++ b/metatag_views/tests/src/Functional/MetatagViewsBasicsTest.php @@ -0,0 +1,69 @@ +install([$theme]); + \Drupal::service('theme_handler')->setDefault($theme); + + // Place the local actions block in the theme so that we can assert the + // presence of local actions and such. + $this->drupalPlaceBlock('local_actions_block', [ + 'region' => 'content', + 'theme' => $theme, + ]); + } + + /** + * Confirm the site isn't broken. + */ + public function testSiteStillWorks() { + // Load the front page. + $this->drupalGet(''); + $this->assertResponse(200); + + // With nothing else configured the front page just has a login form. + $this->assertText('Enter your Drupal username.'); + } + +}