소스 검색

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",