Skip to content

Commit

Permalink
Fix windows upload test double callback issue
Browse files Browse the repository at this point in the history
  • Loading branch information
David Cheung committed Aug 3, 2016
1 parent afb41e9 commit a8ba2f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/upload-download.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ describe('storage service', function () {
.post('/imageContainers/album1/upload')
.attach('image', path.join(__dirname, './fixtures/largeImage.jpg'))
.set('Accept', 'application/json')
.set('Connection', 'keep-alive')
.expect('Content-Type', /json/)
.expect(200, function (err, res) {
assert(err);
Expand Down

0 comments on commit a8ba2f1

Please sign in to comment.