fixed test and merged PR

This commit is contained in:
Annika Hannig 2021-11-16 10:21:36 +01:00
commit 50f549ea6d
2 changed files with 2 additions and 2 deletions

View File

@ -114,7 +114,7 @@ func TestThemeIncludes(t *testing.T) {
if !strings.Contains(stylesHTML, "extra.css") {
t.Error("Stylesheet include should contain extra.css")
}
if !strings.Contains(stylesHTML, "script.js") {
if strings.Contains(stylesHTML, "script.js") {
t.Error("Stylesheet include should not contain script.js")
}

View File

@ -156,7 +156,7 @@ func (src *MultiTableBirdwatcher) fetchFilteredRoutes(
// Query birdwatcher
birdPipeFiltered, err := src.client.GetJSON(
"/routes/pipe/filtered/?table=" + table + "&pipe=" + pipeName)
"/routes/pipe/filtered?table=" + table + "&pipe=" + pipeName)
if err != nil {
log.Println("WARNING Could not retrieve filtered routes:", err)
log.Println("Is the 'pipe_filtered' module active in birdwatcher?")