aboutsummaryrefslogtreecommitdiffstats
path: root/internal/web/web_test.go
diff options
context:
space:
mode:
authorgrm <grm@eyesin.space>2026-09-18 14:35:59 +0300
committergrm <grm@eyesin.space>2026-09-18 14:36:17 +0300
commit7ac90f8e99dbf763b0fe04a17d7eef19dd22cae8 (patch)
treefa2409b9c201a27e19a64afcdd5057eeba0a61ac /internal/web/web_test.go
parent0fc470a8d588cac1a51cc4b3e1a2237dc56041c9 (diff)
downloadblogspace-7ac90f8e99dbf763b0fe04a17d7eef19dd22cae8.tar.gz
blogspace-7ac90f8e99dbf763b0fe04a17d7eef19dd22cae8.tar.bz2
blogspace-7ac90f8e99dbf763b0fe04a17d7eef19dd22cae8.zip
Revert "Special pages: a gallery page of the blog's images"
This reverts commit 0fc470a. The feature was not wanted. Migration 00013 stays on disk because databases have already run it (goose refuses a missing applied migration); 00014 drops the column and table it added. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Sd8UPWrvyYCLj97JexNw3A
Diffstat (limited to 'internal/web/web_test.go')
-rw-r--r--internal/web/web_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/web/web_test.go b/internal/web/web_test.go
index 2d4df5c..2f3bc4f 100644
--- a/internal/web/web_test.go
+++ b/internal/web/web_test.go
@@ -643,7 +643,7 @@ func TestAllTemplatesParse(t *testing.T) {
for _, name := range []string{"auth/login.html", "dashboard/overview.html", "dashboard/pages.html", "dashboard/page_form.html",
"dashboard/posts.html", "dashboard/post_form.html", "dashboard/design.html", "dashboard/files.html", "dashboard/settings.html",
"dashboard/password.html", "dashboard/confirm.html", "dashboard/sections.html", "dashboard/section_form.html", "admin/index.html", "admin/new_user.html", "admin/delete_user.html",
- "blog/page.html", "blog/gallery.html", "blog/post.html", "blog/tag.html", "blog/search.html", "blog/404.html"} {
+ "blog/page.html", "blog/post.html", "blog/tag.html", "blog/search.html", "blog/404.html"} {
for _, l := range i18n.Languages() {
if _, err := tpl.get(l.Code, name); err != nil {
t.Errorf("%s (%s): %v", name, l.Code, err)
@@ -694,7 +694,7 @@ func TestGreekCatalogComplete(t *testing.T) {
for _, p := range Presets() {
used[p.Name] = true
}
- for _, k := range []string{"top", "bottom", store.RoleSuperadmin, store.RoleBlogger, store.PageKindGallery} {
+ for _, k := range []string{"top", "bottom", store.RoleSuperadmin, store.RoleBlogger} {
used[k] = true
}
have := map[string]bool{}