mirror of
https://github.com/azures04/crafatar.git
synced 2026-05-06 11:00:39 +02:00
return 200 for default avatars/renders/skins, fixes #111
This commit is contained in:
@@ -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();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user