Fixed tests

This commit is contained in:
Eduard Urbach 2017-07-03 22:50:04 +02:00
parent e0d2ddfff0
commit 468956abf1

View File

@ -100,6 +100,10 @@ var routeTests = map[string][]string{
"/api/googletouser/106530160120373282283",
},
"/api/facebooktouser/:id": []string{
"/api/facebooktouser/10207576239700188",
},
"/api/nicktouser/:id": []string{
"/api/nicktouser/Akyoto",
},
@ -150,16 +154,18 @@ var routeTests = map[string][]string{
},
// Disable these tests because they require authorization
"/auth/google": nil,
"/auth/google/callback": nil,
"/auth/facebook": nil,
"/auth/facebook/callback": nil,
"/anime/:id/edit": nil,
"/new/thread": nil,
"/new/soundtrack": nil,
"/user": nil,
"/settings": nil,
"/extension/embed": nil,
"/auth/google": nil,
"/auth/google/callback": nil,
"/auth/facebook": nil,
"/auth/facebook/callback": nil,
"/import": nil,
"/import/anilist/animelist": nil,
"/anime/:id/edit": nil,
"/new/thread": nil,
"/new/soundtrack": nil,
"/user": nil,
"/settings": nil,
"/extension/embed": nil,
}
// API interfaces