-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch over from template to container hs
- Loading branch information
1 parent
04413ed
commit a7facfa
Showing
5 changed files
with
25 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
playwright/plugins/homeserver/synapse/presenceDisabledHomeserver.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* | ||
Copyright 2024 New Vector Ltd. | ||
Copyright 2023 The Matrix.org Foundation C.I.C. | ||
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial | ||
Please see LICENSE files in the repository root for full details. | ||
*/ | ||
|
||
import { Fixtures } from "@playwright/test"; | ||
|
||
import { Services } from "../../../services.ts"; | ||
|
||
export const presenceDisabledHomeserver: Fixtures<Services, {}, Services> = { | ||
_homeserver: async ({ _homeserver: container, mailhog }, use) => { | ||
container.withConfig({ | ||
presence: { | ||
enabled: false, | ||
include_offline_users_on_sync: false, | ||
}, | ||
}); | ||
await use(container); | ||
}, | ||
}; |
1 change: 0 additions & 1 deletion
1
playwright/plugins/homeserver/synapse/templates/no-presence/README.md
This file was deleted.
Oops, something went wrong.
110 changes: 0 additions & 110 deletions
110
playwright/plugins/homeserver/synapse/templates/no-presence/homeserver.yaml
This file was deleted.
Oops, something went wrong.
50 changes: 0 additions & 50 deletions
50
playwright/plugins/homeserver/synapse/templates/no-presence/log.config
This file was deleted.
Oops, something went wrong.