File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
services/galley/test/integration/API Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -1463,7 +1463,6 @@ testUpdateTeamMember = do
1463
1463
. json change
1464
1464
)
1465
1465
checkTeamMemberUpdateEvent tid uid w mPerm = WS. assertMatch_ timeout w $ \ notif -> do
1466
- ntfTransient notif @?= False
1467
1466
let e = List1. head (WS. unpackPayload notif)
1468
1467
e ^. eventTeam @?= tid
1469
1468
e ^. eventData @?= EdMemberUpdate uid mPerm
@@ -1768,7 +1767,7 @@ putSearchVisibility g uid tid vis = do
1768
1767
1769
1768
checkJoinEvent :: (MonadIO m , MonadCatch m ) => TeamId -> UserId -> WS. WebSocket -> m ()
1770
1769
checkJoinEvent tid usr w = WS. assertMatch_ timeout w $ \ notif -> do
1771
- ntfTransient notif @?= False
1770
+ ntfTransient notif @?= True
1772
1771
let e = List1. head (WS. unpackPayload notif)
1773
1772
e ^. eventTeam @?= tid
1774
1773
e ^. eventData @?= EdMemberJoin usr
Original file line number Diff line number Diff line change @@ -2716,21 +2716,21 @@ checkUserDeleteEvent uid timeout_ w = WS.assertMatch_ timeout_ w $ \notif -> do
2716
2716
2717
2717
checkTeamMemberJoin :: HasCallStack => TeamId -> UserId -> WS. WebSocket -> TestM ()
2718
2718
checkTeamMemberJoin tid uid w = WS. awaitMatch_ checkTimeout w $ \ notif -> do
2719
- ntfTransient notif @?= False
2719
+ ntfTransient notif @?= True
2720
2720
let e = List1. head (WS. unpackPayload notif)
2721
2721
e ^. eventTeam @?= tid
2722
2722
e ^. eventData @?= EdMemberJoin uid
2723
2723
2724
2724
checkTeamMemberLeave :: HasCallStack => TeamId -> UserId -> WS. WebSocket -> TestM ()
2725
2725
checkTeamMemberLeave tid usr w = WS. assertMatch_ checkTimeout w $ \ notif -> do
2726
- ntfTransient notif @?= False
2726
+ ntfTransient notif @?= True
2727
2727
let e = List1. head (WS. unpackPayload notif)
2728
2728
e ^. eventTeam @?= tid
2729
2729
e ^. eventData @?= EdMemberLeave usr
2730
2730
2731
2731
checkTeamUpdateEvent :: (HasCallStack , MonadIO m , MonadCatch m ) => TeamId -> TeamUpdateData -> WS. WebSocket -> m ()
2732
2732
checkTeamUpdateEvent tid upd w = WS. assertMatch_ checkTimeout w $ \ notif -> do
2733
- ntfTransient notif @?= False
2733
+ ntfTransient notif @?= True
2734
2734
let e = List1. head (WS. unpackPayload notif)
2735
2735
e ^. eventTeam @?= tid
2736
2736
e ^. eventData @?= EdTeamUpdate upd
You can’t perform that action at this time.
0 commit comments