mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-25 01:48:43 +08:00
Merge pull request #26953 from element-hq/valere/fix_tests_for_rust
Fix missing deviceId mock in test
This commit is contained in:
commit
01c64013c2
@ -304,6 +304,7 @@ describe("loading:", function () {
|
||||
localStorage.setItem("mx_is_url", "http://localhost");
|
||||
localStorage.setItem("mx_access_token", "access_token");
|
||||
localStorage.setItem("mx_user_id", "@me:localhost");
|
||||
localStorage.setItem("mx_device_id", "QWERTYUIOP");
|
||||
localStorage.setItem("mx_last_room_id", "!last_room:id");
|
||||
|
||||
// Create a crypto store as well to satisfy storage consistency checks
|
||||
@ -403,6 +404,7 @@ describe("loading:", function () {
|
||||
})
|
||||
.respond(200, {
|
||||
user_id: "@guest:localhost",
|
||||
device_id: "QWERTYUIOP",
|
||||
access_token: "secret_token",
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user