Skip to content

Commit

Permalink
remove "Hello" payloads in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jkoenig134 committed Nov 12, 2024
1 parent beb8016 commit a67a6dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions packages/runtime/test/lib/testUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,7 @@ export async function syncUntilHasEvent<TEvent extends Event>(

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

0 comments on commit a67a6dc

Please sign in to comment.