mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-24 10:58:52 +01:00
Added ElasticSearch backend to tests settings
This commit is contained in:
parent
576eb0830e
commit
28a77c6071
11
runtests.py
11
runtests.py
@ -62,7 +62,16 @@ if not settings.configured:
|
||||
'wagtail.wagtailsearch',
|
||||
'wagtail.wagtailredirects',
|
||||
'wagtail.tests',
|
||||
]
|
||||
],
|
||||
WAGTAILSEARCH_BACKENDS={
|
||||
'default': {
|
||||
'BACKEND': 'wagtail.wagtailsearch.backends.db.DBSearch',
|
||||
},
|
||||
'elasticsearch': {
|
||||
'BACKEND': 'wagtail.wagtailsearch.backends.elasticsearch.ElasticSearch',
|
||||
'RUN_TESTS': True,
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user