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

fix(api): reset all claimed certs during reset #54883

Merged

Conversation

ojeytonwilliams
Copy link
Contributor

@ojeytonwilliams ojeytonwilliams commented May 20, 2024

Checklist:

Changing this did not trip as many tests as it should have, since we're using more 'fuzzy' assertions like expect.toMatchObject. I plan to rework a few in a followup PR, but for this I fixed the issues: isFoundationalCSharpCertV8 and isJsAlgoDataStructCertV8 were not getting reset and new users were not getting the 'free progress timestamp'. i.e. setting progressTimestamps = [Date.now()] rather than [].

We may want to not give that, because it makes very little sense, but it's a post-MVP issue.

@ojeytonwilliams ojeytonwilliams requested a review from a team as a code owner May 20, 2024 16:39
@github-actions github-actions bot added the platform: api Server application that needs familiarity with Express, Loopback, MongoDB etc. label May 20, 2024
@moT01 moT01 added the status: waiting review To be applied to PR's that are ready for QA, especially when additional review is pending. label May 20, 2024
Copy link
Member

@ShaunSHamilton ShaunSHamilton left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@ShaunSHamilton ShaunSHamilton enabled auto-merge (squash) May 28, 2024 07:31
@ShaunSHamilton ShaunSHamilton merged commit dae7701 into freeCodeCamp:main May 28, 2024
23 checks passed
@ojeytonwilliams ojeytonwilliams deleted the fix/reset-progress branch May 28, 2024 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: api Server application that needs familiarity with Express, Loopback, MongoDB etc. status: waiting review To be applied to PR's that are ready for QA, especially when additional review is pending.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants