#256: rename page URLs to match nav labels (/public, /saved)
CI / test (pull_request) Successful in 22s
CI / docker (pull_request) Skipped

This commit is contained in:
fen
2026-09-17 14:30:23 -05:00
parent ca785f5648
commit c91d0e53ca
8 changed files with 70 additions and 15 deletions
+2 -2
View File
@@ -58,7 +58,7 @@ func TestMineCreateListDelete(t *testing.T) {
a := &apiServer{store: st, cfg: cfg, ui: ui, settings: ss, adminKey: "test-admin-key"}
h := a.routes()
alice := viewerCookieFor(t, h, "/history")
alice := viewerCookieFor(t, h, "/public")
if alice == "" {
t.Fatal("no viewer cookie issued")
}
@@ -89,7 +89,7 @@ func TestMineCreateListDelete(t *testing.T) {
}
// a different browser's cookie does NOT see it
bob := viewerCookieFor(t, h, "/history")
bob := viewerCookieFor(t, h, "/public")
rec = doReq(t, h, "GET", "/api/mine", bob, "")
json.Unmarshal(rec.Body.Bytes(), &list)
if list.Total != 0 {