public function JsBase::setUp in Facets 8
Overrides BrowserTestBase::setUp
1 call to JsBase::setUp()
- AjaxBehaviorTest::setUp in tests/
src/ FunctionalJavascript/ AjaxBehaviorTest.php
1 method overrides JsBase::setUp()
- AjaxBehaviorTest::setUp in tests/
src/ FunctionalJavascript/ AjaxBehaviorTest.php
File
- tests/
src/ FunctionalJavascript/ JsBase.php, line 33
Class
- JsBase
- Tests for the JS that transforms widgets into form elements.
Namespace
Drupal\Tests\facets\FunctionalJavascriptCode
public function setUp() {
parent::setUp();
// Create the users used for the tests.
$admin_user = $this
->drupalCreateUser([
'administer search_api',
'administer facets',
'access administration pages',
'administer blocks',
]);
$this
->drupalLogin($admin_user);
$this
->insertExampleContent();
}