public function CacheabilityTest::setUp in Search API Saved Searches 8
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ CacheabilityTest.php, line 42
Class
- CacheabilityTest
- Tests that this module provides correct cache metadata.
Namespace
Drupal\Tests\search_api_saved_searches\FunctionalCode
public function setUp() {
parent::setUp();
$permissions = [
SavedSearchAccessControlHandler::ADMIN_PERMISSION,
];
$this->adminUser = $this
->drupalCreateUser($permissions);
$this
->drupalLogin($this->adminUser);
}