fix tests for real

This commit is contained in:
Sorunome 2020-06-05 13:10:53 +02:00
parent c47bdee9f5
commit 1c115ecf51
No known key found for this signature in database
GPG key ID: B19471D07FC9BE9C

View file

@ -317,7 +317,7 @@ void main() {
expect(eventUpdateList.length, 2); expect(eventUpdateList.length, 2);
expect(eventUpdateList[0].type, 'm.new_device'); expect(eventUpdateList[0].type, 'm.new_device');
if (matrix.encryptionEnabled) { if (olmEnabled) {
expect(eventUpdateList[1].type, 'm.room_key'); expect(eventUpdateList[1].type, 'm.room_key');
} else { } else {
expect(eventUpdateList[1].type, 'm.room.encrypted'); expect(eventUpdateList[1].type, 'm.room.encrypted');