Skip to content

Commit 14832b8

Browse files
Add missing fields to test that should only fail due to invalid user ID (#1412)
1 parent db0a9a5 commit 14832b8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/41end-to-end-keys/01-upload-key.pl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,12 @@
9191
device_keys => {
9292
user_id => "\@50-e2e-alice:localhost:8480",
9393
device_id => "alices_first_device",
94+
algorithms => ["m.olm.curve25519-aes-sha256", "m.megolm.v1.aes-sha"],
95+
keys => {
96+
"curve25519:".$user->device_id => "curve25519+key",
97+
"ed25519:".$user->device_id => "ed25519+key",
98+
},
99+
signatures => {},
94100
},
95101
}
96102
)->main::expect_http_4xx;

0 commit comments

Comments
 (0)