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
1 changed files with 1 additions and 1 deletions

View File

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