Added test
This commit is contained in:
parent
999323f850
commit
f0b3a8869e
@ -18,6 +18,7 @@ component Database
|
|||||||
option(value="SoundTrack") SoundTrack
|
option(value="SoundTrack") SoundTrack
|
||||||
option(value="Thread") Thread
|
option(value="Thread") Thread
|
||||||
option(value="User") User
|
option(value="User") User
|
||||||
|
option(value="Quote") Quote
|
||||||
|
|
||||||
.widget-section.mountable
|
.widget-section.mountable
|
||||||
label(for="field") where
|
label(for="field") where
|
||||||
|
@ -9,8 +9,9 @@ component EditorTabs
|
|||||||
.tabs
|
.tabs
|
||||||
Tab("Editor", "pencil", "/editor")
|
Tab("Editor", "pencil", "/editor")
|
||||||
Tab("Search", "search", "/database")
|
Tab("Search", "search", "/database")
|
||||||
Tab("Shoboi", "calendar", "/editor/shoboi")
|
Tab("Shoboi", "list", "/editor/shoboi")
|
||||||
Tab("AniList", "list", "/editor/anilist")
|
Tab("AniList", "list", "/editor/anilist")
|
||||||
|
Tab("Genres", "list", "/editor/genres")
|
||||||
|
|
||||||
//- a.tab.ajax(href="/admin", aria-label="Admin")
|
//- a.tab.ajax(href="/admin", aria-label="Admin")
|
||||||
//- Icon("wrench")
|
//- Icon("wrench")
|
||||||
|
4
tests.go
4
tests.go
@ -208,6 +208,10 @@ var routeTests = map[string][]string{
|
|||||||
"/api/animeepisodes/323",
|
"/api/animeepisodes/323",
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"/anime/:id/episode/:episode-number": []string{
|
||||||
|
"/anime/12230/episode/5",
|
||||||
|
},
|
||||||
|
|
||||||
"/api/character/:id": []string{
|
"/api/character/:id": []string{
|
||||||
"/api/character/6556",
|
"/api/character/6556",
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user