Fix tests to use new server config options
This commit is contained in:
parent
bf97fd67b4
commit
a5092dc763
3 changed files with 19 additions and 2 deletions
|
@ -96,8 +96,18 @@ describe('joining a room', function() {
|
|||
|
||||
PlatformPeg.set(new WebPlatform());
|
||||
|
||||
const config = {
|
||||
validated_server_config: {
|
||||
hsUrl: HS_URL,
|
||||
hsName: "TEST_ENVIRONMENT",
|
||||
hsNameIsDifferent: false, // yes, we lie
|
||||
isUrl: IS_URL,
|
||||
identityEnabled: true,
|
||||
},
|
||||
};
|
||||
|
||||
const mc = (
|
||||
<MatrixChat config={{}}
|
||||
<MatrixChat config={config}
|
||||
makeRegistrationUrl={()=>{throw new Error("unimplemented");}}
|
||||
initialScreenAfterLogin={{
|
||||
screen: 'directory',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue