also test storing a decrytped room udpate

This commit is contained in:
Sorunome 2020-06-15 10:39:26 +02:00
parent 0e0fd61c65
commit a88460b9d5
No known key found for this signature in database
GPG key ID: B19471D07FC9BE9C

View file

@ -90,6 +90,7 @@ void main() {
expect(decryptedEvent.type, 'm.room.message'); expect(decryptedEvent.type, 'm.room.message');
expect(decryptedEvent.content['msgtype'], 'm.text'); expect(decryptedEvent.content['msgtype'], 'm.text');
expect(decryptedEvent.content['text'], 'Hello foxies!'); expect(decryptedEvent.content['text'], 'Hello foxies!');
await client.encryption.decryptRoomEvent(roomId, encryptedEvent, store: true);
}); });
test('dispose client', () async { test('dispose client', () async {