We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f51bc6 commit 93a14e6Copy full SHA for 93a14e6
matrix-client/test/Spec.hs
@@ -64,6 +64,12 @@ integration sess1 sess2 = do
64
Right reply <- sendMessage sess2 room (EventRoomReply eventID $ msg "Hi!") (TxnID since)
65
reply `shouldNotBe` eventID
66
67
+ it "invite private room" $ do
68
+ Right room <- createRoom sess1 $ RoomCreateRequest PrivateChat "private" "private-test" "A test"
69
+ Right user <- getTokenOwner sess2
70
+ Right inviteResult <- inviteToRoom sess1 room user (Just "Welcome!")
71
+ inviteResult `shouldBe` ()
72
+
73
spec :: Spec
74
spec = describe "unit tests" $ do
75
it "decode unknown" $
0 commit comments