return 200 for default avatars/renders/skins, fixes #111

This commit is contained in:
jomo
2015-03-18 01:11:49 +01:00
parent 13360430d9
commit d4b0a335c4
5 changed files with 8 additions and 8 deletions

View File

@@ -311,9 +311,9 @@ describe("Crafatar", function() {
for (l in locations) {
var location = locations[l];
(function(location) {
it("should return a 404 (default steve image " + location + ")", function(done) {
it("should return a 200 (default steve image " + location + ")", function(done) {
request.get("http://localhost:3000/" + location + "/invalidjsvns?default=steve", function(error, res, body) {
assert.equal(404, res.statusCode);
assert.equal(200, res.statusCode);
done();
});
});