mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
Simplified a couple of search backend paths
This commit is contained in:
parent
b5d6490b7c
commit
9695c86ac6
@ -445,7 +445,7 @@ class TestIssue613(TestCase, WagtailTestUtils):
|
||||
from django.conf import settings
|
||||
from wagtail.wagtailsearch.backends import get_search_backend
|
||||
|
||||
backend_path = 'wagtail.wagtailsearch.backends.elasticsearch.ElasticSearch'
|
||||
backend_path = 'wagtail.wagtailsearch.backends.elasticsearch'
|
||||
|
||||
# Search WAGTAILSEARCH_BACKENDS for an entry that uses the given backend path
|
||||
for backend_name, backend_conf in settings.WAGTAILSEARCH_BACKENDS.items():
|
||||
|
@ -287,7 +287,7 @@ class TestIssue613(TestCase, WagtailTestUtils):
|
||||
from django.conf import settings
|
||||
from wagtail.wagtailsearch.backends import get_search_backend
|
||||
|
||||
backend_path = 'wagtail.wagtailsearch.backends.elasticsearch.ElasticSearch'
|
||||
backend_path = 'wagtail.wagtailsearch.backends.elasticsearch'
|
||||
|
||||
# Search WAGTAILSEARCH_BACKENDS for an entry that uses the given backend path
|
||||
for backend_name, backend_conf in settings.WAGTAILSEARCH_BACKENDS.items():
|
||||
|
Loading…
Reference in New Issue
Block a user