From d6a01070e319ec774f2ca23fe7d8092df85b743a Mon Sep 17 00:00:00 2001 From: The one with the braid Date: Thu, 19 Jan 2023 17:21:54 +0100 Subject: [PATCH] fix: follow-up OLM matcher Signed-off-by: The one with the braid --- test_driver/matrixsdk_test.dart | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/test_driver/matrixsdk_test.dart b/test_driver/matrixsdk_test.dart index 72e1dde1..4407a790 100644 --- a/test_driver/matrixsdk_test.dart +++ b/test_driver/matrixsdk_test.dart @@ -313,13 +313,15 @@ void main() => group('Integration tests', () { await room.sendTextEvent(testMessage4); await Future.delayed(Duration(seconds: 7)); expect( - testClientA.encryption!.olmManager - .olmSessions[testClientB.identityKey]!.length, - 1); + testClientA.encryption!.olmManager + .olmSessions[testClientB.identityKey]!.length, + olmLengthMatcher, + ); expect( - testClientB.encryption!.olmManager - .olmSessions[testClientA.identityKey]!.length, - 1); + testClientB.encryption!.olmManager + .olmSessions[testClientA.identityKey]!.length, + olmLengthMatcher, + ); expect( testClientA.encryption!.olmManager .olmSessions[testClientB.identityKey]!.first.sessionId,