]> git.giacomolli.uk - onechat/blobdiff - whatsapp_route_test.go
Name timeouts for the operations they limit
[onechat] / whatsapp_route_test.go
index 9c855c9935b4b61d3a4e9da64acad8d6e2481221..c6dbf447fee99a9cf7fc1d259c4689b091b212d2 100644 (file)
@@ -390,7 +390,7 @@ func TestRoutedWhatsAppQueueFailureKeepsTheInboxBatch(t *testing.T) {
 func whatsappRouteTestInbox(t *testing.T, dir string) *WhatsAppInbox {
        t.Helper()
 
 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())
        require.NoError(t, err)
 
        return newWhatsAppInbox(state, newTestClock().Now, newWhatsAppGroups(discardLog()), &ImageStore{dir: filepath.Join(dir, imageDirName)}, discardLog())