diff --git a/wagtail/search/tests/test_db_backend.py b/wagtail/search/tests/test_db_backend.py index 40953d9e7..fba3332d7 100644 --- a/wagtail/search/tests/test_db_backend.py +++ b/wagtail/search/tests/test_db_backend.py @@ -18,6 +18,11 @@ class TestDBBackend(BackendTests, TestCase): def test_search_boosting_on_related_fields(self): super().test_search_boosting_on_related_fields() + # Doesn't support ranking + @unittest.expectedFailure + def test_same_rank_pages(self): + super(TestDBBackend, self).test_same_rank_pages() + # Doesn't support searching specific fields @unittest.expectedFailure def test_search_child_class_field_from_parent(self): @@ -32,8 +37,3 @@ class TestDBBackend(BackendTests, TestCase): @unittest.expectedFailure def test_search_callable_field(self): super().test_search_callable_field() - - # Doesn't support the index API used in this test - @unittest.expectedFailure - def test_same_rank_pages(self): - super().test_same_rank_pages()