finish up olm manager tests

This commit is contained in:
Sorunome 2020-06-05 10:21:45 +02:00
parent fbc8f03f67
commit aa9764b511
No known key found for this signature in database
GPG key ID: B19471D07FC9BE9C

View file

@ -98,5 +98,11 @@ void main() {
FakeMatrixApi.calledEndpoints.containsKey('/client/r0/keys/upload'),
false);
});
test('startOutgoingOlmSessions', () async {
// start an olm session.....with ourself!
await client.encryption.olmManager.startOutgoingOlmSessions([client.userDeviceKeys[client.userID].deviceKeys[client.deviceID]]);
expect(client.encryption.olmManager.olmSessions.containsKey(client.identityKey), true);
});
});
}