Skip to content

Commit

Permalink
updated testbench collection (usebruno#2542)
Browse files Browse the repository at this point in the history
  • Loading branch information
lohxt1 authored and jwetzell committed Aug 2, 2024
1 parent f68bc99 commit 39d523b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/bruno-tests/collection/ping.bru
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ vars:pre-request {
assert {
res.status: eq 200
res.responseTime: lte 2000
~res.body: eq {{pong}}
res.body: eq {{pong}}
}

tests {
test("should ping pong", function() {
const data = res.getBody();
expect(data).to.equal(bru.getVar("pong"));
expect(data).to.equal(bru.getRequestVar("pong"));
});
}

Expand Down

0 comments on commit 39d523b

Please sign in to comment.