浏览代码

fix redirection test

jomo 10 年之前
父节点
当前提交
f9b7ffb5b7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/test.js

+ 1 - 1
test/test.js

@@ -535,7 +535,7 @@ describe("Crafatar", function() {
       "head render with non-existent useranme defaulting to userId": {
         url: "http://localhost:3000/avatars/0?scale=2&default=jeb_",
         crc32: 0,
-        redirect: "/renders/head/jeb_?scale=2"
+        redirect: "/avatars/jeb_?scale=2"
       },
       "head render with non-existent username defaulting to url": {
         url: "http://localhost:3000/renders/head/0?scale=2&default=http://example.com",