oficina / calendar Public

Update privacy fixture to use the future-day slot helper

Paul Campbell pushed by paul@keymail.dev 569fe4b67760f099a0e33817d940981037336a21 parent b9010e1
1 file changed, +1 −1
  • internal/calendartest/events_test.go +1 −1

CI passed — run details

diff --git a/internal/calendartest/events_test.go b/internal/calendartest/events_test.go
index 02208ce..58aa791 100644
--- a/internal/calendartest/events_test.go
+++ b/internal/calendartest/events_test.go
@@ -113,7 +113,7 @@ func TestTheDatabaseNeverHoldsAPlaintextTitle(t *testing.T) {
func TestTheDatabaseNeverHoldsAPlaintextBooker(t *testing.T) {
app, mailer, path, _ := publishedPageTitled(t, "Interrogation about the acquisition", "Bring nothing", "mondays 12-3, every day 9-5")
h := app.Handler()
- _, starts := firstDaySlots(t, h, path)
+ _, starts := futureDaySlots(t, h, path)
form := holdForm(starts[0], "Dermot Lacey", "dermot.lacey@elsewhere.example")
form.Set("note", "The folder")
if rec := strangerPost(t, h, path, form); rec.Code != 200 {