mirror of
https://github.com/azures04/crafatar.git
synced 2026-05-06 11:00:39 +02:00
don't throw strings
This commit is contained in:
@@ -1013,7 +1013,7 @@ describe("Crafatar", function() {
|
||||
it("uuid should be rate limited", function(done) {
|
||||
networking.get_profile(rid, id, function() {
|
||||
networking.get_profile(rid, id, function(err, profile) {
|
||||
assert.strictEqual(err, "TooManyRequestsException");
|
||||
assert.strictEqual(err.message, "TooManyRequestsException");
|
||||
assert.strictEqual(profile.error, "TooManyRequestsException");
|
||||
done();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user