diff --git a/cmd/party/users_test.go b/cmd/party/users_test.go index abb174f..b56ea54 100644 --- a/cmd/party/users_test.go +++ b/cmd/party/users_test.go @@ -18,7 +18,7 @@ func TestReadUserHandler(t *testing.T) { code, _, body := ts.getWithToken(t, "/v1/users/1", token) if code != 200 { - t.Errorf("want %d; got %d", 200, code) + t.Errorf("want %d; got %d", 403, code) } if !bytes.Contains(body, []byte("An old silent pond...")) { diff --git a/web/html/base.layout.tmpl b/web/html/base.layout.tmpl index 4f7bbdf..faa037b 100644 --- a/web/html/base.layout.tmpl +++ b/web/html/base.layout.tmpl @@ -13,7 +13,7 @@ {{if .AuthenticatedUser}}