Skip to content

Commit

Permalink
chore: use speaking content instead of gibberish
Browse files Browse the repository at this point in the history
  • Loading branch information
jkoenig134 committed Nov 12, 2024
1 parent 661a6bd commit 8bc7e95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions test/lib/testUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,7 @@ export async function syncUntilHasMessageWithResponse(client: ConnectorClientWit

export async function uploadOwnToken(client: ConnectorClient, forIdentity?: string): Promise<ConnectorToken> {
const response = await client.tokens.createOwnToken({
content: {
content: "token-content"
},
content: { aKey: "aValue" },
expiresAt: DateTime.utc().plus({ days: 1 }).toString(),
forIdentity
});
Expand Down
4 changes: 1 addition & 3 deletions test/tokens.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8bc7e95

Please sign in to comment.