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

BUG fixed: Course can end before it starts #69

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Conversation

ryanvo504
Copy link
Contributor

@ryanvo504 ryanvo504 commented Mar 6, 2024

Changed the CoursesController API so that in post it checks if the endDate is after the startDate to ensure the endDate is AFTER the startDate

DEV deployment link: https://organic-rv.dokku-12.cs.ucsb.edu/

Closes #8

Copy link
Contributor

@luxiangzh luxiangzh left a comment

Choose a reason for hiding this comment

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

Backend jacoco test not passed. See logs:
Warning: Rule violated for bundle organic: instructions covered ratio is 0.99, but expected minimum is 1.00
Warning: Rule violated for bundle organic: branches covered ratio is 0.97, but expected minimum is 1.00
Warning: Rule violated for bundle organic: lines covered ratio is 0.99, but expected minimum is 1.00
Error: Failed to execute goal org.jacoco:jacoco-maven-plugin:0.8.7:check (check) on project organic: Coverage checks have not been met. See log for details. -> [Help 1]

luxiangzh
luxiangzh previously approved these changes Mar 12, 2024
Copy link
Contributor

@luxiangzh luxiangzh left a comment

Choose a reason for hiding this comment

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

Everything else looks good to me.

luxiangzh
luxiangzh previously approved these changes Mar 12, 2024
Copy link
Contributor

@luxiangzh luxiangzh left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@golo230 golo230 left a comment

Choose a reason for hiding this comment

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

changes make sense, test works too, LGTM

Copy link
Contributor

@whuang602 whuang602 left a comment

Choose a reason for hiding this comment

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

Please fix the deployment link, it currently does not have SSL enabled (HTTPS) and is redirecting me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: Course Can End Before It Starts
5 participants