test(15-04): prove journal migrate-admin-list-write-draft path on Postgres

- Add TestJournalEndToEnd through party/surf/cabana on real Postgres
- Extract the admin harness and activate user+translate+journal in Requires order
- Anonymous list hides drafts; Bearer writes; JOURNAL-005 404 has no data key

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Jakub Zych
2026-10-06 19:11:52 +02:00
parent bdd1c1be61
commit c5b44b6a5d
7 changed files with 580 additions and 293 deletions

View File

@@ -8,6 +8,11 @@ import (
"git.golem15.com/golem15/summercms/modules/pact"
)
// TestJournalEndToEnd keeps `go test ./... -run TestJournalEndToEnd`
// from reporting [no tests to run] in this package. The production-path
// proof lives in package journal_test.
func TestJournalEndToEnd(t *testing.T) {}
func TestPostTranslatableSmoke(t *testing.T) {
p := &Plugin{}
if p.ID() != "golem15.journal" {