Skip to content
Snippets Groups Projects
Commit 59f3a772 authored by vlorentz's avatar vlorentz
Browse files

Fix test.

parent fd6b50da
Branches
Tags
1 merge request!61Add api_origin_metadata_search.
......@@ -292,8 +292,7 @@ class OriginApiTestCase(SWHWebTestCase, APITestCase):
@patch('swh.web.common.service.idx_storage')
def test_api_origin_metadata_search_invalid(self, mock_idx_storage):
rv = self.client.get(
'/api/1/origin/metadata-search/?fulltext=Jane%20Doe')
rv = self.client.get('/api/1/origin/metadata-search/')
# then
self.assertEqual(rv.status_code, 400, rv.content)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment