Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ds 10963 #86

Merged
merged 4 commits into from
Jun 6, 2024
Merged

Ds 10963 #86

merged 4 commits into from
Jun 6, 2024

Conversation

jmuto2
Copy link
Contributor

@jmuto2 jmuto2 commented Jun 6, 2024

Description

update expiry check, with tests, deduct a 10 minute cushion

Jira Issue Link

https://alldigitalrewards.atlassian.net/browse/DS-10963

Has the README / documentation been extended if necessary?

/No

Does this update require changes to public API documentation?

No

Tests

Are there created tests which fail without the change (if possible)?

Yes

Have the changes been verified to comply with the security policy requirements?

Yes

@jmuto2 jmuto2 self-assigned this Jun 6, 2024

/**
* @group jwt
*/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change this to testIsExpiredWithin10Minutes

Add test for just checking something like time()-1 minute whatever to see it show expired there too

@jmuto2 jmuto2 merged commit 7fa40ab into master Jun 6, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants