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

Ticket: Create/Update Comments #11

Closed
CSalih opened this issue Feb 12, 2022 · 0 comments · Fixed by #15
Closed

Ticket: Create/Update Comments #11

CSalih opened this issue Feb 12, 2022 · 0 comments · Fixed by #15

Comments

@CSalih
Copy link
Owner

CSalih commented Feb 12, 2022

Ticket: Create/Update Comments

User Story

"As a user, I want to be able to post comments to a movie page as well as edit my own comments."


Task

For this ticket, you'll be required to implement the addComment and updateComment methods in CommentDao.

Ensure that updateComment only allows users to update their own comments, and no one else's comments.


MFlix Functionality

Once this ticket is completed, users will be able to post comments on their favorite (and least favorite) movies, and edit comments they've posted.


Testing and Running the Application

If the application is already running, stop the application and run the unit tests for this ticket by executing the following command:

mvn test -Dtest=UpdateCreateCommentTest

Once the unit tests are passing, run the application with:

mvn spring-boot:run

Our launch the Application from your IDE.

@CSalih CSalih linked a pull request Feb 12, 2022 that will close this issue
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 a pull request may close this issue.

1 participant