diff --git a/frontend/src/components/Client/OAuth2ClientDetail.test.tsx b/frontend/src/components/Client/OAuth2ClientDetail.test.tsx index ba3e920a0..0a750992f 100644 --- a/frontend/src/components/Client/OAuth2ClientDetail.test.tsx +++ b/frontend/src/components/Client/OAuth2ClientDetail.test.tsx @@ -22,6 +22,7 @@ describe("", () => { clientName: "Test Client", clientUri: "https://client.org/logo.png", tosUri: "https://client.org/tos", + logoUri: null, policyUri: "https://client.org/policy", redirectUris: ["https://client.org/"], }; @@ -38,7 +39,7 @@ describe("", () => { const data = makeFragmentData( { ...baseClient, - tosUri: undefined, + tosUri: null, }, OAUTH2_CLIENT_FRAGMENT, ); @@ -52,7 +53,7 @@ describe("", () => { const data = makeFragmentData( { ...baseClient, - logoUri: undefined, + logoUri: null, }, OAUTH2_CLIENT_FRAGMENT, ); diff --git a/frontend/src/components/CompatSession.test.tsx b/frontend/src/components/CompatSession.test.tsx index 35430c4ce..a886c151d 100644 --- a/frontend/src/components/CompatSession.test.tsx +++ b/frontend/src/components/CompatSession.test.tsx @@ -17,7 +17,11 @@ describe("", () => { id: "session-id", deviceId: "abcd1234", createdAt: "2023-06-29T03:35:17.451292+00:00", + finishedAt: null, lastActiveIp: "1.2.3.4", + lastActiveAt: null, + humanName: null, + userAgent: null, ssoLogin: { id: "test-id", redirectUri: "https://element.io/", diff --git a/frontend/src/components/Footer/Footer.stories.tsx b/frontend/src/components/Footer/Footer.stories.tsx index 82e01a93b..94f79df42 100644 --- a/frontend/src/components/Footer/Footer.stories.tsx +++ b/frontend/src/components/Footer/Footer.stories.tsx @@ -11,9 +11,9 @@ import { makeFragmentData } from "../../gql"; import Footer, { FRAGMENT } from "./Footer"; const Template: React.FC<{ - tosUri?: string; - policyUri?: string; - imprint?: string; + tosUri: string | null; + policyUri: string | null; + imprint: string | null; }> = ({ tosUri, policyUri, imprint }) => (