Skip to content

Commit

Permalink
e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
oskogstad committed Nov 6, 2024
1 parent c42a9fd commit c4874a8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/k6/tests/serviceowner/dialogSearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,7 @@ export default function () {
let r = getSO('dialogs/' + defaultFilter + '&EndUserId=' + invalidEndUserId + '&ServiceResource=' + auxResource);
expectStatusFor(r).to.equal(200);
expect(r, 'response').to.have.validJsonBody();
let response = r.json();
expect(response, 'response json').to.have.property("items");
expect(response.items, 'items').to.have.lengthOf(0);
expect(r.json(), 'response json').not.to.have.property("items");
})

describe("Cleanup", () => {
Expand Down

0 comments on commit c4874a8

Please sign in to comment.