diff --git a/packages/runtime/test/lib/testUtils.ts b/packages/runtime/test/lib/testUtils.ts index 0bb707c62..5207554d3 100644 --- a/packages/runtime/test/lib/testUtils.ts +++ b/packages/runtime/test/lib/testUtils.ts @@ -162,9 +162,7 @@ export async function syncUntilHasEvent( export async function uploadOwnToken(transportServices: TransportServices, forIdentity?: string): Promise { const response = await transportServices.tokens.createOwnToken({ - content: { - content: "Hello" - }, + content: { aKey: "aValue" }, expiresAt: DateTime.utc().plus({ days: 1 }).toString(), ephemeral: false, forIdentity diff --git a/packages/runtime/test/transport/tokens.test.ts b/packages/runtime/test/transport/tokens.test.ts index 5e641a647..0e1a0dd99 100644 --- a/packages/runtime/test/transport/tokens.test.ts +++ b/packages/runtime/test/transport/tokens.test.ts @@ -39,9 +39,7 @@ describe("Tokens", () => { describe("Tokens errors", () => { test("create a token with 'expiresAt' set to undefined", async () => { const response = await runtimeServices1.transport.tokens.createOwnToken({ - content: { - content: "Hello" - }, + content: { aKey: "aValue" }, expiresAt: undefined as unknown as string, ephemeral: false });