Przeglądaj źródła

fix TooManyRequests test

jomo 10 lat temu
rodzic
commit
11f580bb95
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      test/test.js

+ 1 - 1
test/test.js

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