public function ConfigurationPageTest::setUp in Real-time SEO for Drupal 8.2
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ ConfigurationPageTest.php, line 36
Class
- ConfigurationPageTest
- Tests for the Real-Time SEO configuration page.
Namespace
Drupal\Tests\yoast_seo\FunctionalCode
public function setUp() {
parent::setUp();
// Create an article content type that we will use for testing.
$this
->drupalCreateContentType([
'type' => 'article',
'name' => 'Article',
]);
$this->container
->get('router.builder')
->rebuild();
}