From 8bc7e957197048382c3e7c4f7533152a6cfb65ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20K=C3=B6nig?= Date: Tue, 12 Nov 2024 17:52:38 +0100 Subject: [PATCH] chore: use speaking content instead of gibberish --- test/lib/testUtils.ts | 4 +--- test/tokens.test.ts | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/test/lib/testUtils.ts b/test/lib/testUtils.ts index 1723852c..7f32a4b6 100644 --- a/test/lib/testUtils.ts +++ b/test/lib/testUtils.ts @@ -141,9 +141,7 @@ export async function syncUntilHasMessageWithResponse(client: ConnectorClientWit export async function uploadOwnToken(client: ConnectorClient, forIdentity?: string): Promise { const response = await client.tokens.createOwnToken({ - content: { - content: "token-content" - }, + content: { aKey: "aValue" }, expiresAt: DateTime.utc().plus({ days: 1 }).toString(), forIdentity }); diff --git a/test/tokens.test.ts b/test/tokens.test.ts index 19845302..891ecea9 100644 --- a/test/tokens.test.ts +++ b/test/tokens.test.ts @@ -15,9 +15,7 @@ afterAll(() => launcher.stop()); test("send a token", async () => { const response = await client1.tokens.createOwnToken({ - content: { - content: "token-content" - }, + content: { aKey: "aValue" }, expiresAt: DateTime.utc().plus({ days: 1 }).toString() }); expect(response).toBeSuccessful(ValidationSchema.Token);