Skip to content

Commit

Permalink
Fix compilation issue in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pubudu91 committed Dec 13, 2022
1 parent c7c93bd commit 7c52348
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mediation-remove-query-param/tests/utest_policy.bal
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ public function testRequestFlowSingleInstance() {
@test:Config {}
public function testRequestFlowMultipleInstance() {
mediation:Context ctx = createContext("get", "/greet");
ctx.addQueryParam("arr", 1);
ctx.addQueryParam("arr", 2);
ctx.addQueryParam("arr", "1");
ctx.addQueryParam("arr", "2");
ctx.addQueryParam("x", "y");
http:Response|false|error|() result = removeQueryParam(ctx, new, "arr");
assertResult(result, ctx.queryParams(), {x: ["y"]});
Expand Down

0 comments on commit 7c52348

Please sign in to comment.