Added a few missing route tests
This commit is contained in:
parent
34f56031e0
commit
dd39a8bfd9
@ -139,6 +139,30 @@ var routeTests = map[string][]string{
|
|||||||
"/forum/general",
|
"/forum/general",
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"/genre/:name": []string{
|
||||||
|
"/genre/action",
|
||||||
|
},
|
||||||
|
|
||||||
|
"/company/:id": []string{
|
||||||
|
"/company/xCAUr7UkRaz",
|
||||||
|
},
|
||||||
|
|
||||||
|
"/company/:id/history": []string{
|
||||||
|
"/company/xCAUr7UkRaz/history",
|
||||||
|
},
|
||||||
|
|
||||||
|
"/companies/from/:index": []string{
|
||||||
|
"/companies/from/3",
|
||||||
|
},
|
||||||
|
|
||||||
|
"/explore/color/:color/anime": []string{
|
||||||
|
"/explore/color/hsl:0.050,0.25,0.5/anime",
|
||||||
|
},
|
||||||
|
|
||||||
|
"/explore/color/:color/anime/from/:index": []string{
|
||||||
|
"/explore/color/hsl:0.050,0.25,0.5/anime/from/3",
|
||||||
|
},
|
||||||
|
|
||||||
"/search/:term": []string{
|
"/search/:term": []string{
|
||||||
"/search/Dragon Ball",
|
"/search/Dragon Ball",
|
||||||
},
|
},
|
||||||
@ -424,6 +448,9 @@ var routeTests = map[string][]string{
|
|||||||
"/anime/:id/edit/episodes": nil,
|
"/anime/:id/edit/episodes": nil,
|
||||||
"/anime/:id/edit/history": nil,
|
"/anime/:id/edit/history": nil,
|
||||||
"/new/thread": nil,
|
"/new/thread": nil,
|
||||||
|
"/thread/:id/edit": nil,
|
||||||
|
"/post/:id/edit": nil,
|
||||||
|
"/company/:id/edit": nil,
|
||||||
"/admin/purchases": nil,
|
"/admin/purchases": nil,
|
||||||
"/admin/registrations": nil,
|
"/admin/registrations": nil,
|
||||||
"/explore/sequels": nil,
|
"/explore/sequels": nil,
|
||||||
@ -443,6 +470,7 @@ var routeTests = map[string][]string{
|
|||||||
"/support": nil,
|
"/support": nil,
|
||||||
"/charge": nil,
|
"/charge": nil,
|
||||||
"/log": nil,
|
"/log": nil,
|
||||||
|
"/log/from/:index": nil,
|
||||||
"/inventory": nil,
|
"/inventory": nil,
|
||||||
"/extension/embed": nil,
|
"/extension/embed": nil,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user