浏览代码

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();
             });
           });