diff --git a/server/test/squads.spec.js b/server/test/squads.spec.js index ebb627e..9bd2e83 100644 --- a/server/test/squads.spec.js +++ b/server/test/squads.spec.js @@ -24,7 +24,7 @@ describe('Squads', () => { */ describe('/GET squads', () => { it('it should GET all the squads', (done) => { - chai.deleteMany(server) + chai.request(server) .get(urls.squads) .end((err, res) => { res.should.have.status(codes.success);