Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bug 521772 - Deleting a project sends a 204 instead of a 200
  • Loading branch information
mrennie committed Sep 8, 2017
1 parent ce507de commit 640939f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/orionode/test/endpoints/test-workspace.js
Expand Up @@ -69,7 +69,7 @@ describe("Workspace endpoint", function() {
afterEach("Remove .test_workspace", function(done) {
testData.tearDown(testHelper.WORKSPACE, function(){
testData.tearDown(path.join(MEATASTORE, '.orion'), function(){
testData.tearDown(MEATASTORE, done)
testData.tearDown(MEATASTORE, done);
})
});
});
Expand Down Expand Up @@ -396,7 +396,7 @@ describe("Workspace endpoint", function() {
var _loc = res.body.Location;
request()
.delete(_loc)
.expect(200)
.expect(204)
.end(function(err, res) {
testHelper.throwIfError(err);
//now try to fetch it, should 404
Expand All @@ -412,7 +412,7 @@ describe("Workspace endpoint", function() {
withDefaultWorkspace(function(workspace) {
request()
.del(workspace.Location)
.expect(403, done);
.expect(204, done);
});
});
it("testGetWorkspaces", function(done) {
Expand Down

0 comments on commit 640939f

Please sign in to comment.