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