diff --git a/packages/bruno-tests/collection/string interpolation/missing values.bru b/packages/bruno-tests/collection/string interpolation/missing values.bru index 2f310bc15..61eb7c62e 100644 --- a/packages/bruno-tests/collection/string interpolation/missing values.bru +++ b/packages/bruno-tests/collection/string interpolation/missing values.bru @@ -36,7 +36,8 @@ assert { tests { test("should return json", function() { const url = req.getUrl(); - expect(url).to.equal("http://localhost:80/api/echo/json?foo={{undefinedVar}}"); + const query = url.split("?")[1]; + expect(query).to.equal("foo={{undefinedVar}}"); const data = res.getBody(); expect(res.getBody()).to.eql({