fix TooManyRequests test

This commit is contained in:
jomo 2015-05-28 00:45:48 +02:00
parent 01049cb34d
commit 11f580bb95

View File

@ -883,7 +883,7 @@ describe("Crafatar", function() {
it("uuid should be rate limited", function(done) { it("uuid should be rate limited", function(done) {
networking.get_profile(rid, id, function(err, profile) { networking.get_profile(rid, id, function(err, profile) {
assert.ifError(err); assert.ifError(err);
assert.strictEqual(profile.error, "TooManyRequestsException"); assert.strictEqual(profile.error, "TooManyRequests");
done(); done();
}); });
}); });