Updated tests

This commit is contained in:
Eduard Urbach 2017-06-23 17:15:48 +02:00
parent 776078d333
commit 294e8db22c

View File

@ -10,6 +10,10 @@ var tests = map[string][]string{
"/+Akyoto/threads", "/+Akyoto/threads",
}, },
"/user/:nick/posts": []string{
"/+Akyoto/posts",
},
"/user/:nick/animelist": []string{ "/user/:nick/animelist": []string{
"/+Akyoto/animelist", "/+Akyoto/animelist",
}, },
@ -56,6 +60,14 @@ var tests = map[string][]string{
"/api/animelist/4J6qpK1ve", "/api/animelist/4J6qpK1ve",
}, },
"/api/animelist/:id/get/:item": []string{
"/api/animelist/4J6qpK1ve/get/7929",
},
"/api/animelist/:id/get/:item/:property": []string{
"/api/animelist/4J6qpK1ve/get/7929/Episodes",
},
"/api/settings/:id": []string{ "/api/settings/:id": []string{
"/api/settings/4J6qpK1ve", "/api/settings/4J6qpK1ve",
}, },