Fixed tests
This commit is contained in:
parent
e0d2ddfff0
commit
468956abf1
26
tests.go
26
tests.go
@ -100,6 +100,10 @@ var routeTests = map[string][]string{
|
|||||||
"/api/googletouser/106530160120373282283",
|
"/api/googletouser/106530160120373282283",
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"/api/facebooktouser/:id": []string{
|
||||||
|
"/api/facebooktouser/10207576239700188",
|
||||||
|
},
|
||||||
|
|
||||||
"/api/nicktouser/:id": []string{
|
"/api/nicktouser/:id": []string{
|
||||||
"/api/nicktouser/Akyoto",
|
"/api/nicktouser/Akyoto",
|
||||||
},
|
},
|
||||||
@ -150,16 +154,18 @@ var routeTests = map[string][]string{
|
|||||||
},
|
},
|
||||||
|
|
||||||
// Disable these tests because they require authorization
|
// Disable these tests because they require authorization
|
||||||
"/auth/google": nil,
|
"/auth/google": nil,
|
||||||
"/auth/google/callback": nil,
|
"/auth/google/callback": nil,
|
||||||
"/auth/facebook": nil,
|
"/auth/facebook": nil,
|
||||||
"/auth/facebook/callback": nil,
|
"/auth/facebook/callback": nil,
|
||||||
"/anime/:id/edit": nil,
|
"/import": nil,
|
||||||
"/new/thread": nil,
|
"/import/anilist/animelist": nil,
|
||||||
"/new/soundtrack": nil,
|
"/anime/:id/edit": nil,
|
||||||
"/user": nil,
|
"/new/thread": nil,
|
||||||
"/settings": nil,
|
"/new/soundtrack": nil,
|
||||||
"/extension/embed": nil,
|
"/user": nil,
|
||||||
|
"/settings": nil,
|
||||||
|
"/extension/embed": nil,
|
||||||
}
|
}
|
||||||
|
|
||||||
// API interfaces
|
// API interfaces
|
||||||
|
Loading…
Reference in New Issue
Block a user