added search result serializer to empty string search query

This commit is contained in:
Sam
2021-02-26 10:17:27 +00:00
parent 5829b107f9
commit 874afc81ac
2 changed files with 2 additions and 2 deletions

View File

@@ -541,7 +541,7 @@ class ProductSearchTest(TestCase):
q = quote("zapatos rojos")
limit = 2
url = f"{self.endpoint}?q={q}&limit=2"
url = f"{self.endpoint}?q={q}&limit={limit}"
# send in request
response = self.client.get(url)