Updated tests to have no redirect to homes (#8494)

This commit is contained in:
Keith Holliday
2017-02-16 16:33:49 -07:00
committed by GitHub
parent 2f9ff92cbd
commit e37ad420ce
6 changed files with 30 additions and 10 deletions

View File

@@ -31,7 +31,7 @@ describe('payments : paypal #checkout', () => {
balance: 2,
});
await user.get(endpoint);
await user.get(`${endpoint}?noRedirect=true`);
expect(checkoutStub).to.be.calledOnce;
expect(checkoutStub.args[0][0].gift).to.eql(undefined);