mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-05-16 19:43:10 +00:00
refactor(web): pass render URL state explicitly
Signed-off-by: Jason Cameron <jason.cameron@stanwith.me>
This commit is contained in:
+1
-1
@@ -721,7 +721,7 @@ func TestRenderIndexUsesServerBasePrefixNotPackageGlobal(t *testing.T) {
|
||||
t.Fatalf("challenge body used package global base prefix: %q", body.String())
|
||||
}
|
||||
if anubis.BasePrefix != "/global" {
|
||||
t.Fatalf("rendering should restore anubis.BasePrefix, got %q", anubis.BasePrefix)
|
||||
t.Fatalf("rendering should leave anubis.BasePrefix alone, got %q", anubis.BasePrefix)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user