fixed broken tests.

This commit is contained in:
kay.one 2013-08-25 22:25:56 -07:00
parent 4188946395
commit 932012d7f9
2 changed files with 10 additions and 2 deletions

View file

@ -31,7 +31,7 @@ namespace NzbDrone.Api.Commands
dynamic command = Request.Body.FromJson(commandType);
_messageAggregator.PublishCommand(command);
return resource.AsResponse();
return resource.AsResponse(HttpStatusCode.Created);
}
}
}