Skip to content
Snippets Groups Projects
Commit 57915adf authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB
Browse files

Fixed search unit tests for new search

parent 63407692
No related branches found
No related tags found
No related merge requests found
......@@ -215,8 +215,9 @@ class TestPerms(TestCase):
def search_helper(self, query, user):
"""Helper function for search tests"""
url = '{baseurl}?{query}'.format(baseurl=reverse('search',
args=['flex']), query=urlencode({'query': query}))
url = '{baseurl}?{query}'.format(baseurl=reverse('mainsearch'),
query=urlencode({'query': query, 'results_format': 'F',
'query_type': 'E'}))
response = self.client.get(url, **extra_args(user))
res = json.loads(response.content)
return res
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment