Fix tests that hard-coded cadence.moe

This commit is contained in:
Cadence Ember 2024-01-20 18:23:48 +13:00
parent 706b37669b
commit 67dc31f747

View file

@ -14,6 +14,7 @@ const db = new sqlite(":memory:")
const reg = require("../matrix/read-registration") const reg = require("../matrix/read-registration")
reg.ooye.server_origin = "https://matrix.cadence.moe" // so that tests will pass even when hard-coded reg.ooye.server_origin = "https://matrix.cadence.moe" // so that tests will pass even when hard-coded
reg.ooye.server_name = "cadence.moe"
reg.ooye.invite = ["@test_auto_invite:example.org"] reg.ooye.invite = ["@test_auto_invite:example.org"]
const sync = new HeatSync({watchFS: false}) const sync = new HeatSync({watchFS: false})