mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
Fixes an undefined variable.
This commit is contained in:
parent
1bb6613bcc
commit
019f59f486
@ -198,7 +198,7 @@ class TestElasticsearch5SearchQuery(TestCase):
|
||||
|
||||
def test_none_lookup(self):
|
||||
# Create a query
|
||||
query = self.query_compiler_class(models.Book.objects.filter(title=None), "Hello")
|
||||
query_compiler = self.query_compiler_class(models.Book.objects.filter(title=None), "Hello")
|
||||
|
||||
# Check it
|
||||
expected_result = {'bool': {'filter': [
|
||||
|
Loading…
Reference in New Issue
Block a user