Skip to content

Commit

Permalink
Refactor test file for sales to match previous change
Browse files Browse the repository at this point in the history
  • Loading branch information
ebenezerdon committed Nov 17, 2018
1 parent 42a38da commit 99bc443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/tests/sales.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ describe('Get sales', () => {
.set('accesstoken', token)
.end((error, data) => {
expect(data).to.have.status(200);
expect(41).to.equal(data.body.attendant_id);
expect(41).to.equal(data.body[0].attendant_id);
done();
});
});
Expand Down

0 comments on commit 99bc443

Please sign in to comment.