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

add timestamp proof generation check #53

Merged
merged 4 commits into from
Jul 11, 2023
Merged

add timestamp proof generation check #53

merged 4 commits into from
Jul 11, 2023

Conversation

volodymyr-basiuk
Copy link
Contributor

No description provided.

Kolezhniuk
Kolezhniuk previously approved these changes Jul 10, 2023
auth_test.go Show resolved Hide resolved
@vmidyllic vmidyllic merged commit 6428e71 into main Jul 11, 2023
3 checks passed
@vmidyllic vmidyllic deleted the feature/pid-695 branch July 11, 2023 08:39
@@ -310,13 +317,43 @@ func TestCheckRequest_Success(t *testing.T) {
}

func TestCheckRequest_SelectiveDisclosure_Error(t *testing.T) {
now := time.Now().Unix()
durationMin, _ := time.ParseDuration("-1m")
dayAndMinuteAgo := time.Now().AddDate(0, 0, -1).Add(durationMin).Unix()
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you explain, why are you using durationMin, _ := time.ParseDuration("-1m")

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.

4 participants