fixed test and merged PR
This commit is contained in:
commit
50f549ea6d
@ -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")
|
||||
}
|
||||
|
||||
|
@ -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?")
|
||||
|
Loading…
x
Reference in New Issue
Block a user