X-Git-Url: https://git.giacomolli.uk/onechat/blobdiff_plain/f6f0febc2c599ed7bb2a2653215a74d8de1abace..a5c83e92d7feea2e104b5515043a76c8c4c56c60:/whatsapp_fake_helper_test.go diff --git a/whatsapp_fake_helper_test.go b/whatsapp_fake_helper_test.go index 8e0f237..e5dc502 100644 --- a/whatsapp_fake_helper_test.go +++ b/whatsapp_fake_helper_test.go @@ -3,7 +3,6 @@ package main import ( "context" "fmt" - "log/slog" "os" "path/filepath" "slices" @@ -414,11 +413,6 @@ func whatsappTestSession(t *testing.T, dir string, linked bool) { require.NoError(t, container.Close()) } -// whatsappDiscardLog is a logger for a WhatsApp whose log a test does not read. -func whatsappDiscardLog() *slog.Logger { - return slog.New(slog.DiscardHandler) -} - // whatsappTestMessage returns the event of the text message id of sender in // chat at the time at. A sender with whatsappTestNumber is the user. func whatsappTestMessage(chat, sender types.JID, id, text string, at time.Time) *events.Message {