mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-04 10:32:44 +00:00
test: rebrand remaining Element references to HealthChat
This commit is contained in:
@@ -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" },
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
+1
-1
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user