From 1c115ecf512eba1363413ccfd9791c0d90db20a6 Mon Sep 17 00:00:00 2001 From: Sorunome Date: Fri, 5 Jun 2020 13:10:53 +0200 Subject: [PATCH] fix tests for real --- test/client_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/client_test.dart b/test/client_test.dart index a316eba..3963400 100644 --- a/test/client_test.dart +++ b/test/client_test.dart @@ -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');