From 54d4a7435596d27b19be8e716d9955d2b1d62717 Mon Sep 17 00:00:00 2001 From: Anoop M D Date: Mon, 29 Jan 2024 19:02:39 +0530 Subject: [PATCH] fix: fixed failing test --- .../collection/string interpolation/missing values.bru | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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({