test: rebrand remaining Element references to HealthChat

This commit is contained in:
2026-06-06 15:14:05 +02:00
parent 17a89cb12d
commit 2685821bdc
3 changed files with 5 additions and 5 deletions
@@ -199,7 +199,7 @@ describe("DeviceListener", () => {
expect(mockClient!.setAccountData).toHaveBeenCalledWith(
`io.element.matrix_client_information.${deviceId}`,
{ name: "Element", url: "localhost", version: "1.2.3" },
{ name: "HealthChat", url: "localhost", version: "1.2.3" },
);
});
@@ -229,7 +229,7 @@ describe("DeviceListener", () => {
expect(mockClient!.setAccountData).toHaveBeenCalledWith(
`io.element.matrix_client_information.${deviceId}`,
{ name: "Element", url: "localhost", version: "1.2.3" },
{ name: "HealthChat", url: "localhost", version: "1.2.3" },
);
});
});
@@ -293,7 +293,7 @@ describe("DeviceListener", () => {
expect(mockClient!.setAccountData).toHaveBeenCalledWith(
`io.element.matrix_client_information.${deviceId}`,
{ name: "Element", url: "localhost", version: "1.2.3" },
{ name: "HealthChat", url: "localhost", version: "1.2.3" },
);
});
});
@@ -628,7 +628,7 @@ describe("<Notifications />", () => {
app_display_name: "Email Notifications",
app_id: "m.email",
append: true,
data: { brand: "Element" },
data: { brand: "HealthChat" },
device_display_name: "test@example.tld",
kind: "email",
lang: "en-US",
@@ -17,7 +17,7 @@ import { makeDelegatedAuthConfig } from "../../../test-utils/oidc";
describe("getOidcClientId()", () => {
const issuer = "https://auth.com/";
const clientName = "Element";
const clientName = "HealthChat";
const baseUrl = "https://just.testing";
const dynamicClientId = "xyz789";
const staticOidcClients = {