Skip to content

Commit

Permalink
Merge branch 'IMN-521_authorization-server' into IMN-787_token-detail…
Browse files Browse the repository at this point in the history
…s-persister
  • Loading branch information
taglioni-r authored Nov 14, 2024
2 parents e4cc3e5 + ee3e128 commit affdaf0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ describe("authorization server tests", () => {
};
expect(parsedDecodedFileContent).toEqual(expectedMessageBody);
expect(response.limitReached).toBe(false);
expect(response.token).toBeDefined(); // TODO check expected token?
expect(response.token).toBeDefined();
expect(response.rateLimiterStatus).toEqual({
maxRequests: config.rateLimiterMaxRequests,
rateInterval: config.rateLimiterRateInterval,
Expand Down Expand Up @@ -691,7 +691,7 @@ describe("authorization server tests", () => {
expect(result.token).toBeDefined();

expect(result.limitReached).toBe(false);
expect(result.token).toBeDefined(); // TODO check expected token?
expect(result.token).toBeDefined();
expect(result.rateLimiterStatus).toEqual({
maxRequests: config.rateLimiterMaxRequests,
rateInterval: config.rateLimiterRateInterval,
Expand Down Expand Up @@ -798,7 +798,7 @@ describe("authorization server tests", () => {
expect(fileManager.storeBytes).not.toHaveBeenCalled();

expect(response.limitReached).toBe(false);
expect(response.token).toBeDefined(); // TODO check expected token?
expect(response.token).toBeDefined();
expect(response.rateLimiterStatus).toEqual({
maxRequests: config.rateLimiterMaxRequests,
rateInterval: config.rateLimiterRateInterval,
Expand Down

0 comments on commit affdaf0

Please sign in to comment.