fix test for non-olm
This commit is contained in:
parent
f065a92445
commit
fe3a697a15
|
@ -317,7 +317,11 @@ void main() {
|
|||
expect(eventUpdateList.length, 2);
|
||||
|
||||
expect(eventUpdateList[0].type, 'm.new_device');
|
||||
expect(eventUpdateList[1].type, 'm.room_key');
|
||||
if (matrix.encryptionEnabled) {
|
||||
expect(eventUpdateList[1].type, 'm.room_key');
|
||||
} else {
|
||||
expect(eventUpdateList[1].type, 'm.room.encrypted');
|
||||
}
|
||||
});
|
||||
|
||||
test('Login', () async {
|
||||
|
|
Loading…
Reference in a new issue