finish up olm manager tests
This commit is contained in:
parent
fbc8f03f67
commit
aa9764b511
|
@ -98,5 +98,11 @@ void main() {
|
||||||
FakeMatrixApi.calledEndpoints.containsKey('/client/r0/keys/upload'),
|
FakeMatrixApi.calledEndpoints.containsKey('/client/r0/keys/upload'),
|
||||||
false);
|
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);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue