Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
psrok1 committed Dec 12, 2024
1 parent aec136d commit 4cc4b28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/backend/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,9 +439,9 @@ def recent_blobs(self, page):
return res.json()

def search(self, query):
res = self.session.get(self.mwdb_url + "/object", json={"query": query})
res = self.session.get(self.mwdb_url + "/object", params={"query": query})
res.raise_for_status()
return res.json()
return res.json()["objects"]

def check_operational(self):
for attempt in range(10):
Expand Down

0 comments on commit 4cc4b28

Please sign in to comment.