hub (unreleased): the notice's texts — what to do if the household did not ask for it; the subject names the deletion and its day (decision 316, R-1374)

Household-facing, built and NOT published: the operator reads them before a release.

Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
admin committed 2026-11-15 16:22:11 +01:00
1 parent 42ef25c23b
commit 9ef8cee1c4
13 files changed
+74 -17

No files matched your search

@@ -0,0 +1,28 @@
== MUTATION: the mail does not say what to do if the household did not ask for it
RED on the mutant, GREEN on the real file
--- FAIL: TestNotice_ReachesTheHouseholdWhateverItsSwitches (0.05s)
end_notice_test.go:65: the body lacks "\n\nHa ezt nem te kérted, vond vissza a Mentések oldalon, és változtasd meg a jelszavadat.\n\nHa kérdésed van":
--- FAIL: TestNotice_FollowsTheHouseholdsLanguage (0.04s)
end_notice_test.go:93: the English body lacks "\n\nIf you did not ask for this, take it back on the Backups page and change your password.\n\nIf you have any questions":
1 mutations, 0 not a red-proof
== MUTATION: the subject is the frame's ("Information: … marked for deletion"), not the deletion and its day
RED on the mutant, GREEN on the real file
--- FAIL: TestNotice_ReachesTheHouseholdWhateverItsSwitches (0.05s)
end_notice_test.go:60: the subject does not name the deletion and its day: "[Felhom] Információ: vikunja: a távoli másolatok törlésre kijelölve"
--- FAIL: TestNotice_FollowsTheHouseholdsLanguage (0.05s)
end_notice_test.go:88: not the English subject: "[Felhom] Information: vikunja: the off-site copies are marked for deletion"
== MUTATION: one date form: an English household gets the Hungarian form
RED on the mutant, GREEN on the real file
--- FAIL: TestNotice_FollowsTheHouseholdsLanguage (0.04s)
end_notice_test.go:88: not the English subject: "[Felhom] vikunja: the off-site copies will be deleted on 2026. 12. 15."
--- FAIL: TestCustomerMailGoldens (0.01s)
mail_golden_test.go:235: mail customer_shape_offsite_end_scheduled_receipt changed.
== MUTATION: one date form: a Hungarian household gets a written month
RED on the mutant, GREEN on the real file
--- FAIL: TestNotice_ReachesTheHouseholdWhateverItsSwitches (0.04s)
end_notice_test.go:60: the subject does not name the deletion and its day: "[Felhom] vikunja: a távoli másolatok törlésének napja: 2026. December 15."
--- FAIL: TestCustomerMailGoldens (0.01s)
mail_golden_test.go:235: mail customer_shape_offsite_end_scheduled_receipt changed.
3 mutations, 0 not a red-proof