Skip to content

Commit

Permalink
format core-search query kwargs in search_test to json str, re #10804
Browse files Browse the repository at this point in the history
  • Loading branch information
whatisgalen committed Apr 19, 2024
1 parent 72bd61d commit d044f3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/views/search_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,8 +502,8 @@ def get_response_json(client, temporal_filter=None, term_filter=None, spatial_fi
query["term-filter"] = JSONSerializer().serialize(term_filter)
if spatial_filter is not None:
query["map-filter"] = JSONSerializer().serialize(spatial_filter)
query["core-search"] = True
query["localize-descriptors"] = True
query["core-search"] = 'true'
query["localize-descriptors"] = 'true'
resource_reviewer_group = Group.objects.get(name="Resource Reviewer")
test_user = User.objects.get(username="unpriviliged_user")
test_user.groups.add(resource_reviewer_group)
Expand Down

0 comments on commit d044f3c

Please sign in to comment.