Added test

This commit is contained in:
Eduard Urbach 2018-03-07 03:46:44 +01:00
parent 999323f850
commit f0b3a8869e
4 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -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")

View File

@ -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",
}, },