diff -u b/src/Tests/MonitoringSearchAPITest.php b/src/Tests/MonitoringSearchAPITest.php --- b/src/Tests/MonitoringSearchAPITest.php +++ b/src/Tests/MonitoringSearchAPITest.php @@ -53,11 +53,8 @@ // Install the test search API index and server used by the test. $this->installConfig(['search_api_test_db']); - // @todo Remove workaround for outdated SearchAPI Version on testbot. - if (\Drupal::hasService('search_api.index_task_manager')) { - \Drupal::service('search_api.index_task_manager') - ->addItemsAll(Index::load('database_search_index')); - } + \Drupal::service('search_api.index_task_manager') + ->addItemsAll(Index::load('database_search_index')); } /**