diff --git a/core/scripts/run-tests.sh b/core/scripts/run-tests.sh
index a953dd7..684b3e8 100755
--- a/core/scripts/run-tests.sh
+++ b/core/scripts/run-tests.sh
@@ -64,7 +64,7 @@
   exit;
 }
 
-$test_list = simpletest_script_get_test_list();
+$test_list = array_fill(0, 1, 'Drupal\search\Tests\SearchCommentCountToggleTest');
 
 // Try to allocate unlimited time to run the tests.
 drupal_set_time_limit(0);
diff --git a/core/modules/search/lib/Drupal/search/Tests/SearchCommentCountToggleTest.php b/core/modules/search/lib/Drupal/search/Tests/SearchCommentCountToggleTest.php
index adfb110..c365c48 100644
--- a/core/modules/search/lib/Drupal/search/Tests/SearchCommentCountToggleTest.php
+++ b/core/modules/search/lib/Drupal/search/Tests/SearchCommentCountToggleTest.php
@@ -26,10 +26,7 @@ class SearchCommentCountToggleTest extends SearchTestBase {
    *
    * @var array
    */
-  public static $modules = array('comment');
-
-  // Requires node types, comment config, filter formats.
-  protected $profile = 'standard';
+  public static $modules = array('filter', 'node', 'comment', 'search');
 
   protected $searching_user;
   protected $searchable_nodes;
