Fix windows upload test double callback issue

See visionmedia/supertest/issues/230#issuecomment-103226606
This commit is contained in:
David Cheung 2016-08-03 16:56:20 -04:00
parent afb41e99a5
commit 222051a385
1 changed files with 1 additions and 0 deletions

View File

@ -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);