new way of handling category searches
This commit is contained in:
@@ -793,7 +793,7 @@ class ProductSearchTest(TestCase):
|
||||
]
|
||||
|
||||
q = quote("zapatos rojos")
|
||||
url = f"{self.endpoint}?q={q}&category=ropa&category=nueva"
|
||||
url = f"{self.endpoint}?q={q}&category[]=ropa&category[]=nueva"
|
||||
# send in request
|
||||
response = self.client.get(url)
|
||||
# check response
|
||||
|
||||
Reference in New Issue
Block a user