Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / search / tests / src / Functional / SearchPageOverrideTest.php
index 4dfca49d187ab222c8c702a6e37463df19220ad8..5a614e30383b85449e08f0702b946bfcfc599e37 100644 (file)
@@ -2,6 +2,8 @@
 
 namespace Drupal\Tests\search\Functional;
 
+use Drupal\Tests\BrowserTestBase;
+
 /**
  * Tests if the result page can be overridden.
  *
@@ -10,14 +12,12 @@ namespace Drupal\Tests\search\Functional;
  *
  * @group search
  */
-class SearchPageOverrideTest extends SearchTestBase {
+class SearchPageOverrideTest extends BrowserTestBase {
 
   /**
-   * Modules to enable.
-   *
-   * @var array
+   * {@inheritdoc}
    */
-  public static $modules = ['search_extra_type'];
+  protected static $modules = ['search', 'search_extra_type'];
 
   /**
    * A user with permission to administer search.