Skip to content

Commit

Permalink
fix(test): use 303 redirect instead of 403
Browse files Browse the repository at this point in the history
  • Loading branch information
Hans Kristian Flaatten committed May 2, 2016
1 parent 7670a4d commit b47ee0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/acceptance/profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ describe('POST /profile/link', () => {
.send({ api_key: 'fookey' })
.expect('x-app-status', 'failure')
.expect('x-app-message', 'link_forbidden')
.expect(403, done);
.expect(303, done);
});

it('returns error for linking empty api key', (done) => {
Expand Down

0 comments on commit b47ee0c

Please sign in to comment.