2018-03-27 23:32:49 +00:00
|
|
|
package routetests
|
2017-06-14 20:13:30 +00:00
|
|
|
|
2017-06-30 16:12:14 +00:00
|
|
|
var routeTests = map[string][]string{
|
2017-06-14 20:13:30 +00:00
|
|
|
// User
|
2019-04-23 05:52:55 +00:00
|
|
|
"/user/:nick": {
|
2017-06-14 20:13:30 +00:00
|
|
|
"/+Akyoto",
|
2017-06-21 18:33:57 +00:00
|
|
|
},
|
2017-06-14 20:13:30 +00:00
|
|
|
|
2021-11-22 09:58:13 +00:00
|
|
|
"/user/:nick/characters/liked": {
|
|
|
|
"/+Akyoto/characters/liked",
|
|
|
|
},
|
2018-04-19 15:48:15 +00:00
|
|
|
|
2021-11-22 09:58:13 +00:00
|
|
|
// "/user/:nick/forum/threads": {
|
2018-12-07 07:20:10 +00:00
|
|
|
// "/+Akyoto/forum/threads",
|
|
|
|
// },
|
2017-06-14 20:13:30 +00:00
|
|
|
|
2021-11-22 09:58:13 +00:00
|
|
|
// "/user/:nick/forum/posts": {
|
2018-12-07 07:20:10 +00:00
|
|
|
// "/+Akyoto/forum/posts",
|
|
|
|
// },
|
2017-06-23 15:15:48 +00:00
|
|
|
|
2021-11-22 09:58:13 +00:00
|
|
|
// "/user/:nick/soundtracks/added": {
|
2018-12-07 07:20:10 +00:00
|
|
|
// "/+Akyoto/soundtracks/added",
|
|
|
|
// },
|
2018-03-14 10:57:40 +00:00
|
|
|
|
2021-11-22 09:58:13 +00:00
|
|
|
// "/user/:nick/soundtracks/added/from/:index": {
|
2018-12-07 07:20:10 +00:00
|
|
|
// "/+Akyoto/soundtracks/added/from/3",
|
|
|
|
// },
|
2018-03-14 14:58:12 +00:00
|
|
|
|
2021-11-22 09:58:13 +00:00
|
|
|
// "/user/:nick/soundtracks/liked": {
|
2018-12-07 07:20:10 +00:00
|
|
|
// "/+Akyoto/soundtracks/liked",
|
|
|
|
// },
|
2017-06-30 16:12:14 +00:00
|
|
|
|
2021-11-22 09:58:13 +00:00
|
|
|
// "/user/:nick/soundtracks/liked/from/:index": {
|
2018-12-07 07:20:10 +00:00
|
|
|
// "/+Akyoto/soundtracks/liked/from/3",
|
|
|
|
// },
|
2018-03-14 14:58:12 +00:00
|
|
|
|
2021-11-22 09:58:13 +00:00
|
|
|
// "/user/:nick/quotes/added": {
|
2018-12-07 07:20:10 +00:00
|
|
|
// "/+Scott/quotes/added",
|
|
|
|
// },
|
2018-03-19 11:25:31 +00:00
|
|
|
|
2021-11-22 09:58:13 +00:00
|
|
|
// "/user/:nick/quotes/added/from/:index": {
|
2018-12-07 07:20:10 +00:00
|
|
|
// "/+Scott/quotes/added/from/3",
|
|
|
|
// },
|
2018-03-19 11:25:31 +00:00
|
|
|
|
2021-11-22 09:58:13 +00:00
|
|
|
// "/user/:nick/quotes/liked": {
|
2018-12-07 07:20:10 +00:00
|
|
|
// "/+Scott/quotes/liked",
|
|
|
|
// },
|
2018-03-19 11:25:31 +00:00
|
|
|
|
2021-11-22 09:58:13 +00:00
|
|
|
// "/user/:nick/quotes/liked/from/:index": {
|
2018-12-07 07:20:10 +00:00
|
|
|
// "/+Scott/quotes/liked/from/3",
|
|
|
|
// },
|
2018-03-19 11:25:31 +00:00
|
|
|
|
2021-11-22 09:58:13 +00:00
|
|
|
// "/user/:nick/followers": {
|
2018-12-07 07:20:10 +00:00
|
|
|
// "/+Akyoto/followers",
|
|
|
|
// },
|
2017-10-01 05:24:56 +00:00
|
|
|
|
2021-11-22 09:58:13 +00:00
|
|
|
// "/user/:nick/stats": {
|
2018-12-07 07:20:10 +00:00
|
|
|
// "/+Akyoto/stats",
|
|
|
|
// },
|
2017-10-01 05:24:56 +00:00
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/user/:nick/animelist/anime/:id": {
|
2018-04-04 19:35:29 +00:00
|
|
|
"/+Akyoto/animelist/anime/74y2cFiiR",
|
2017-06-21 18:33:57 +00:00
|
|
|
},
|
2017-06-20 12:16:23 +00:00
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/user/:nick/animelist/watching": {
|
2017-07-05 19:23:59 +00:00
|
|
|
"/+Akyoto/animelist/watching",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/user/:nick/animelist/watching/from/:index": {
|
2018-11-12 05:24:00 +00:00
|
|
|
"/+Akyoto/animelist/watching/from/1",
|
2018-03-23 03:12:06 +00:00
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/user/:nick/animelist/completed": {
|
2017-07-05 19:23:59 +00:00
|
|
|
"/+Akyoto/animelist/completed",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/user/:nick/animelist/completed/from/:index": {
|
2018-03-23 03:12:06 +00:00
|
|
|
"/+Akyoto/animelist/completed/from/3",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/user/:nick/animelist/planned": {
|
2017-07-05 19:23:59 +00:00
|
|
|
"/+Akyoto/animelist/planned",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/user/:nick/animelist/planned/from/:index": {
|
2018-03-23 03:12:06 +00:00
|
|
|
"/+Akyoto/animelist/planned/from/3",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/user/:nick/animelist/hold": {
|
2017-07-05 19:23:59 +00:00
|
|
|
"/+Akyoto/animelist/hold",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/user/:nick/animelist/hold/from/:index": {
|
2018-03-23 03:12:06 +00:00
|
|
|
"/+Akyoto/animelist/hold/from/3",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/user/:nick/animelist/dropped": {
|
2017-07-05 19:23:59 +00:00
|
|
|
"/+Akyoto/animelist/dropped",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/user/:nick/animelist/dropped/from/:index": {
|
2018-03-23 03:12:06 +00:00
|
|
|
"/+Akyoto/animelist/dropped/from/3",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/user/:nick/anime/recommended": {
|
2018-12-07 07:20:10 +00:00
|
|
|
"/+Akyoto/anime/recommended",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/user/:nick/anime/sequels": {
|
2018-12-07 07:20:10 +00:00
|
|
|
"/+Akyoto/anime/sequels",
|
2018-02-27 19:38:13 +00:00
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/users/country/:country": {
|
2018-11-06 11:20:19 +00:00
|
|
|
"/users/country/japan",
|
|
|
|
},
|
|
|
|
|
2017-06-14 20:13:30 +00:00
|
|
|
// Pages
|
2019-04-23 05:52:55 +00:00
|
|
|
"/anime/:id": {
|
2018-04-04 19:35:29 +00:00
|
|
|
"/anime/74y2cFiiR",
|
2017-06-21 18:33:57 +00:00
|
|
|
},
|
2017-06-14 20:13:30 +00:00
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/anime/:id/characters": {
|
2018-04-04 19:35:29 +00:00
|
|
|
"/anime/74y2cFiiR/characters",
|
2017-10-22 15:02:36 +00:00
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/anime/:id/episodes": {
|
2018-04-04 19:35:29 +00:00
|
|
|
"/anime/74y2cFiiR/episodes",
|
2017-10-22 15:02:36 +00:00
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/anime/:id/comments": {
|
2018-11-01 08:17:58 +00:00
|
|
|
"/anime/74y2cFiiR/comments",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/anime/:id/tracks": {
|
2018-04-04 19:35:29 +00:00
|
|
|
"/anime/74y2cFiiR/tracks",
|
2017-10-22 15:02:36 +00:00
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/anime/:id/relations": {
|
2018-04-25 18:23:35 +00:00
|
|
|
"/anime/74y2cFiiR/relations",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/thread/:id": {
|
2017-07-10 14:58:34 +00:00
|
|
|
"/thread/HJgS7c2K",
|
2017-06-21 18:33:57 +00:00
|
|
|
},
|
2017-06-14 20:13:30 +00:00
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/post/:id": {
|
2017-07-10 14:58:34 +00:00
|
|
|
"/post/B1RzshnK",
|
2017-06-21 18:33:57 +00:00
|
|
|
},
|
2017-06-14 20:13:30 +00:00
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/forum/:tag": {
|
2017-06-14 20:13:30 +00:00
|
|
|
"/forum/general",
|
2017-06-21 18:33:57 +00:00
|
|
|
},
|
2017-06-14 20:13:30 +00:00
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/genre/:name": {
|
2018-07-04 09:43:51 +00:00
|
|
|
"/genre/action",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/company/:id": {
|
2018-07-04 09:43:51 +00:00
|
|
|
"/company/xCAUr7UkRaz",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/company/:id/history": {
|
2018-07-04 09:43:51 +00:00
|
|
|
"/company/xCAUr7UkRaz/history",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/companies/from/:index": {
|
2018-07-04 09:43:51 +00:00
|
|
|
"/companies/from/3",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/explore/color/:color/anime": {
|
2018-07-04 09:43:51 +00:00
|
|
|
"/explore/color/hsl:0.050,0.25,0.5/anime",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/explore/color/:color/anime/from/:index": {
|
2018-07-04 09:43:51 +00:00
|
|
|
"/explore/color/hsl:0.050,0.25,0.5/anime/from/3",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/search/:term": {
|
2017-06-21 00:02:30 +00:00
|
|
|
"/search/Dragon Ball",
|
2017-06-21 18:33:57 +00:00
|
|
|
},
|
2017-06-21 00:02:30 +00:00
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/quote/:id": {
|
2018-02-26 11:48:25 +00:00
|
|
|
"/quote/gUZugd6zR",
|
2018-01-25 14:29:52 +00:00
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/quote/:id/edit": {
|
2018-02-26 11:48:25 +00:00
|
|
|
"/quote/gUZugd6zR/edit",
|
2018-01-25 14:29:52 +00:00
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/quote/:id/history": {
|
2018-04-25 18:23:35 +00:00
|
|
|
"/quote/gUZugd6zR/history",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/quotes/from/:index": {
|
2018-01-25 14:29:52 +00:00
|
|
|
"/quotes/from/2",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/quotes/best/from/:index": {
|
2018-01-25 14:29:52 +00:00
|
|
|
"/quotes/best/from/2",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/soundtrack/:id": {
|
2017-07-16 05:50:57 +00:00
|
|
|
"/soundtrack/h0ac8sKkg",
|
2017-06-30 16:12:14 +00:00
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/soundtrack/:id/lyrics": {
|
2018-04-25 18:23:35 +00:00
|
|
|
"/soundtrack/vS64GbpzR/lyrics",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/soundtrack/:id/edit": {
|
2017-10-22 15:02:36 +00:00
|
|
|
"/soundtrack/h0ac8sKkg/edit",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/soundtrack/:id/history": {
|
2018-03-23 03:12:06 +00:00
|
|
|
"/soundtrack/h0ac8sKkg/history",
|
2018-01-25 14:29:52 +00:00
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/soundtracks": {
|
2018-03-23 03:12:06 +00:00
|
|
|
"/soundtracks",
|
2018-01-25 14:29:52 +00:00
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/soundtracks/from/:index": {
|
2017-10-22 15:02:36 +00:00
|
|
|
"/soundtracks/from/12",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/soundtracks/best": {
|
2018-03-23 03:12:06 +00:00
|
|
|
"/soundtracks/best",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/soundtracks/best/from/:index": {
|
2018-01-25 14:29:52 +00:00
|
|
|
"/soundtracks/best/from/12",
|
|
|
|
},
|
2018-03-23 03:12:06 +00:00
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/soundtracks/tag/:tag": {
|
2018-03-23 03:12:06 +00:00
|
|
|
"/soundtracks/tag/moe",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/soundtracks/tag/:tag/from/:index": {
|
2018-03-23 03:12:06 +00:00
|
|
|
"/soundtracks/tag/moe/from/3",
|
|
|
|
},
|
2018-01-25 14:29:52 +00:00
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/character/:id": {
|
2018-04-11 10:05:02 +00:00
|
|
|
"/character/dfrNQrmmg-",
|
|
|
|
},
|
|
|
|
|
2019-10-26 06:57:47 +00:00
|
|
|
"/episode/:id": {
|
|
|
|
"/episode/oFlqThKWga",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/compare/animelist/:nick-1/:nick-2": {
|
2017-10-22 15:02:36 +00:00
|
|
|
"/compare/animelist/Akyoto/Scott",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/explore/anime/:year/:season/:status/:type": {
|
2018-04-13 16:07:21 +00:00
|
|
|
"/explore/anime/2011/any/finished/tv",
|
2017-11-17 10:00:49 +00:00
|
|
|
},
|
|
|
|
|
2018-04-25 18:23:35 +00:00
|
|
|
// AMV
|
2019-04-23 05:52:55 +00:00
|
|
|
"/amv/:id": {
|
2018-04-25 18:23:35 +00:00
|
|
|
"/amv/07scvSWmg",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/amv/:id/edit": {
|
2018-04-25 18:23:35 +00:00
|
|
|
"/amv/07scvSWmg/edit",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/amv/:id/history": {
|
2018-04-25 18:23:35 +00:00
|
|
|
"/amv/07scvSWmg/history",
|
|
|
|
},
|
|
|
|
|
|
|
|
// AMVs
|
2019-04-23 05:52:55 +00:00
|
|
|
"/amvs/from/:index": {
|
2018-04-25 18:23:35 +00:00
|
|
|
"/amvs/from/3",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/amvs/best/from/:index": {
|
2018-04-25 18:23:35 +00:00
|
|
|
"/amvs/best/from/3",
|
|
|
|
},
|
|
|
|
|
2018-04-06 22:11:29 +00:00
|
|
|
// Redirects
|
2019-04-23 05:52:55 +00:00
|
|
|
"/mal/anime/:id": {
|
2018-04-06 22:11:29 +00:00
|
|
|
"/mal/anime/33352",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/kitsu/anime/:id": {
|
2018-04-06 22:11:29 +00:00
|
|
|
"/kitsu/anime/12230",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/anilist/anime/:id": {
|
2018-04-06 22:11:29 +00:00
|
|
|
"/anilist/anime/21827",
|
|
|
|
},
|
|
|
|
|
2017-06-14 20:13:30 +00:00
|
|
|
// API
|
2019-04-23 05:52:55 +00:00
|
|
|
"/api/anime/:id": {
|
2018-04-04 19:35:29 +00:00
|
|
|
"/api/anime/74y2cFiiR",
|
2017-06-21 18:33:57 +00:00
|
|
|
},
|
2017-06-14 20:13:30 +00:00
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/api/thread/:id": {
|
2017-06-14 20:13:30 +00:00
|
|
|
"/api/thread/HJgS7c2K",
|
2017-06-21 18:33:57 +00:00
|
|
|
},
|
2017-06-14 20:13:30 +00:00
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/api/post/:id": {
|
2017-06-14 20:13:30 +00:00
|
|
|
"/api/post/B1RzshnK",
|
2017-06-21 18:33:57 +00:00
|
|
|
},
|
2017-06-14 20:13:30 +00:00
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/api/animelist/:id": {
|
2017-06-14 20:13:30 +00:00
|
|
|
"/api/animelist/4J6qpK1ve",
|
2017-06-21 18:33:57 +00:00
|
|
|
},
|
2017-06-14 20:13:30 +00:00
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/api/settings/:id": {
|
2017-06-14 20:13:30 +00:00
|
|
|
"/api/settings/4J6qpK1ve",
|
2017-06-21 18:33:57 +00:00
|
|
|
},
|
2017-06-14 20:13:30 +00:00
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/api/user/:id": {
|
2017-06-14 20:13:30 +00:00
|
|
|
"/api/user/4J6qpK1ve",
|
2017-06-21 18:33:57 +00:00
|
|
|
},
|
2017-06-14 20:13:30 +00:00
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/api/googletouser/:id": {
|
2017-06-16 22:33:27 +00:00
|
|
|
"/api/googletouser/106530160120373282283",
|
2017-06-21 18:33:57 +00:00
|
|
|
},
|
2017-06-16 22:33:27 +00:00
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/api/nicktouser/:id": {
|
2017-06-16 22:33:27 +00:00
|
|
|
"/api/nicktouser/Akyoto",
|
2017-06-21 18:33:57 +00:00
|
|
|
},
|
2017-06-16 22:33:27 +00:00
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/api/soundtrack/:id": {
|
2017-06-30 16:12:14 +00:00
|
|
|
"/api/soundtrack/h0ac8sKkg",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/api/animecharacters/:id": {
|
2018-04-04 19:35:29 +00:00
|
|
|
"/api/animecharacters/74y2cFiiR",
|
2017-10-01 05:24:56 +00:00
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/api/animerelations/:id": {
|
2018-04-04 19:35:29 +00:00
|
|
|
"/api/animerelations/74y2cFiiR",
|
2018-03-27 23:59:14 +00:00
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/api/amv/:id": {
|
2018-04-25 18:23:35 +00:00
|
|
|
"/api/amv/07scvSWmg",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/api/character/:id": {
|
2018-04-11 21:10:41 +00:00
|
|
|
"/api/character/dfrNQrmmg-",
|
2017-10-01 05:24:56 +00:00
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/api/company/:id": {
|
2018-03-27 23:59:14 +00:00
|
|
|
"/api/company/xCAUr7UkRaz",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/api/draftindex/:id": {
|
2018-03-27 23:59:14 +00:00
|
|
|
"/api/draftindex/4J6qpK1ve",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/api/inventory/:id": {
|
2018-03-27 23:59:14 +00:00
|
|
|
"/api/inventory/4J6qpK1ve",
|
2017-10-01 05:24:56 +00:00
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/api/shopitem/:id": {
|
2018-03-27 23:59:14 +00:00
|
|
|
"/api/shopitem/pro-account-3",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/api/notification/:id": {
|
2018-11-15 11:53:24 +00:00
|
|
|
"/api/notification/q6Y6eraig",
|
2018-03-27 23:59:14 +00:00
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/api/quote/:id": {
|
2018-03-27 23:59:14 +00:00
|
|
|
"/api/quote/GXp675zmR",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/api/usernotifications/:id": {
|
2018-03-27 23:59:14 +00:00
|
|
|
"/api/usernotifications/4J6qpK1ve",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/api/pushsubscriptions/:id": {
|
2018-03-27 23:59:14 +00:00
|
|
|
"/api/pushsubscriptions/4J6qpK1ve",
|
2017-10-01 05:24:56 +00:00
|
|
|
},
|
|
|
|
|
2017-06-16 22:33:27 +00:00
|
|
|
// Images
|
2019-04-23 05:52:55 +00:00
|
|
|
"/images/*file": {
|
2017-06-18 12:07:38 +00:00
|
|
|
"/images/elements/no-avatar.svg",
|
2017-06-21 18:33:57 +00:00
|
|
|
},
|
2017-06-14 20:13:30 +00:00
|
|
|
|
2017-10-03 02:24:01 +00:00
|
|
|
// Extra tests for higher coverage
|
2019-04-23 05:52:55 +00:00
|
|
|
"/_/+Akyoto": {
|
2017-10-03 02:24:01 +00:00
|
|
|
"/_/+Akyoto",
|
|
|
|
},
|
|
|
|
|
2019-04-23 05:52:55 +00:00
|
|
|
"/_/search/dragon": {
|
2017-10-03 02:24:01 +00:00
|
|
|
"/_/search/dragon",
|
|
|
|
},
|
2017-06-21 18:33:57 +00:00
|
|
|
}
|
2018-03-27 23:32:49 +00:00
|
|
|
|
|
|
|
// All returns which specific routes to test for a given generic route.
|
|
|
|
func All() map[string][]string {
|
|
|
|
return routeTests
|
|
|
|
}
|