fix: follow-up OLM matcher

Signed-off-by: The one with the braid <the-one@with-the-braid.cf>
This commit is contained in:
The one with the braid 2023-01-19 17:21:54 +01:00
parent c2e8ecfdff
commit d6a01070e3
1 changed files with 8 additions and 6 deletions

View File

@ -315,11 +315,13 @@ void main() => group('Integration tests', () {
expect( expect(
testClientA.encryption!.olmManager testClientA.encryption!.olmManager
.olmSessions[testClientB.identityKey]!.length, .olmSessions[testClientB.identityKey]!.length,
1); olmLengthMatcher,
);
expect( expect(
testClientB.encryption!.olmManager testClientB.encryption!.olmManager
.olmSessions[testClientA.identityKey]!.length, .olmSessions[testClientA.identityKey]!.length,
1); olmLengthMatcher,
);
expect( expect(
testClientA.encryption!.olmManager testClientA.encryption!.olmManager
.olmSessions[testClientB.identityKey]!.first.sessionId, .olmSessions[testClientB.identityKey]!.first.sessionId,