comparison core/modules/search/tests/src/Functional/SearchPageOverrideTest.php @ 4:a9cd425dd02b

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:11:55 +0000
parents c75dbcec494b
children
comparison
equal deleted inserted replaced
3:307d7a7fd348 4:a9cd425dd02b
1 <?php 1 <?php
2 2
3 namespace Drupal\Tests\search\Functional; 3 namespace Drupal\Tests\search\Functional;
4
5 use Drupal\Tests\BrowserTestBase;
4 6
5 /** 7 /**
6 * Tests if the result page can be overridden. 8 * Tests if the result page can be overridden.
7 * 9 *
8 * Verifies that a plugin can override the buildResults() method to 10 * Verifies that a plugin can override the buildResults() method to
9 * control what the search results page looks like. 11 * control what the search results page looks like.
10 * 12 *
11 * @group search 13 * @group search
12 */ 14 */
13 class SearchPageOverrideTest extends SearchTestBase { 15 class SearchPageOverrideTest extends BrowserTestBase {
14 16
15 /** 17 /**
16 * Modules to enable. 18 * {@inheritdoc}
17 *
18 * @var array
19 */ 19 */
20 public static $modules = ['search_extra_type']; 20 protected static $modules = ['search', 'search_extra_type'];
21 21
22 /** 22 /**
23 * A user with permission to administer search. 23 * A user with permission to administer search.
24 * 24 *
25 * @var \Drupal\user\UserInterface 25 * @var \Drupal\user\UserInterface