-
Notifications
You must be signed in to change notification settings - Fork 1
Feat/add event #50
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
Feat/add event #50
Conversation
| Assert.Equal(id, result.Value!.Id); | ||
| Assert.Equal(organizerEmail, result.Value!.Organizer.Email); | ||
| } | ||
| } No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This lacks tests for the checks that you've specifically implemented (checking whether the start/end dates are in the future), so I think you should add these tests
| Assert.Equal("Event created succesfully", objectResult.Value); | ||
|
|
||
| } | ||
| } No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should probably add a test for checking whether the email claim isn't missing. It's present in other controller tests
kubapoke
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think everything seems good now, good job
No description provided.