X-Git-Url: https://git.giacomolli.uk/onechat/blobdiff_plain/0da50dc187c8b4aa23ac1ddd0418c0da779389d9..3cdbd017da9ae7a7045f4272f16d4b262fd01c79:/whatsapp_route_test.go diff --git a/whatsapp_route_test.go b/whatsapp_route_test.go index 9c855c9..c6dbf44 100644 --- a/whatsapp_route_test.go +++ b/whatsapp_route_test.go @@ -390,7 +390,7 @@ func TestRoutedWhatsAppQueueFailureKeepsTheInboxBatch(t *testing.T) { func whatsappRouteTestInbox(t *testing.T, dir string) *WhatsAppInbox { t.Helper() - state, err := openWhatsAppState(filepath.Join(dir, whatsappDirName, whatsappStateFileName), whatsappBatchQuiet, whatsappBatchWindow) + state, err := openWhatsAppState(filepath.Join(dir, whatsappDirName, whatsappStateFileName)) require.NoError(t, err) return newWhatsAppInbox(state, newTestClock().Now, newWhatsAppGroups(discardLog()), &ImageStore{dir: filepath.Join(dir, imageDirName)}, discardLog())