X-Git-Url: https://git.giacomolli.uk/onechat/blobdiff_plain/b961d7cdc59213673c3e4f86d3dae99daf0a1935..f4509310b5abe5012cb83bed3960404e8fa92217:/whatsapp_test.go diff --git a/whatsapp_test.go b/whatsapp_test.go index 6475805..d200a91 100644 --- a/whatsapp_test.go +++ b/whatsapp_test.go @@ -601,7 +601,7 @@ func TestWhatsAppLogoutFromThePhone(t *testing.T) { notice := "WhatsApp was unlinked from the phone. Run /whatsapp pair PHONE to link it again." client.WaitFor(t, notice) telegramWaitForSent(t, telegram, notice) - require.Equal(t, "<3>logged out by the phone, run /whatsapp pair PHONE\n", logs.String()) + require.Equal(t, "<3>logged out by the phone\n", logs.String()) require.NoFileExists(t, filepath.Join(dir, whatsappDirName, whatsappSessionFileName)) require.Equal(t, "WhatsApp is not linked. Run /whatsapp pair PHONE to link it.", whatsapp.Status()) require.Equal(t, []string{"WhatsApp was unlinked from the phone."}, whatsappTestLogTexts(t, memory))