tests: simplify testMemberContactInvitedConnectionReplaced (for stable)

This commit is contained in:
spaced4ndy 2023-10-12 12:20:31 +04:00
parent 7b488c7f1b
commit b956988a83

View File

@ -3278,7 +3278,7 @@ testMemberContactInvitedConnectionReplaced tmp = do
bob ##> "/_get chat @2 count=100" bob ##> "/_get chat @2 count=100"
items <- chat <$> getTermLine bob items <- chat <$> getTermLine bob
items `shouldContain` [(0, "received invitation to join group team as admin"), (0, "contact deleted"), (0, "hi"), (0, "security code changed")] items `shouldContain` [(0, "security code changed")]
withTestChat tmp "bob" $ \bob -> do withTestChat tmp "bob" $ \bob -> do
subscriptions bob 1 subscriptions bob 1