You are here

protected function SimpleGseSearchTest::setUp in Simple Google Custom Search Engine 8

Same name and namespace in other branches
  1. 2.0.x tests/src/Functional/SimpleGseSearchTest.php \Drupal\Tests\simple_gse_search\Functional\SimpleGseSearchTest::setUp()

Overrides BrowserTestBase::setUp

File

tests/src/Functional/SimpleGseSearchTest.php, line 23

Class

SimpleGseSearchTest
Tests if the search form submit redirects correctly.

Namespace

Drupal\Tests\simple_gse_search\Functional

Code

protected function setUp() {
  parent::setUp();
  $this
    ->drupalLogin($this
    ->drupalCreateUser([
    'access gse search page',
  ]));
  $this
    ->placeBlock('simple_gse_search_block');
}