forked from eatvio/eatvio_app
feat(video_calls): ios mic fix, tokens clearing fix
This commit is contained in:
@@ -167,5 +167,18 @@ void main() {
|
||||
expect(VideoCallRemoteEndRegistry.contains('other-id'), isTrue);
|
||||
},
|
||||
);
|
||||
|
||||
test('dismissCallKitOnly ends the matching CallKit call', () async {
|
||||
await VideoCallEndedPushHandler.dismissCallKitOnly(
|
||||
conversationUuid: conversation,
|
||||
);
|
||||
|
||||
final ended = calls
|
||||
.where((call) => call.method == 'endCall')
|
||||
.map((call) => (call.arguments as Map)['id'])
|
||||
.toList();
|
||||
expect(ended, <String>['ringing-id']);
|
||||
expect(VideoCallRemoteEndRegistry.contains('ringing-id'), isTrue);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user