소스 검색

fix TooManyRequests test

jomo 10 년 전
부모
커밋
11f580bb95
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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();
             });
           });