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

Issue#16 - [JOKE] REST-endpoints + testing #30

Merged
merged 7 commits into from
Sep 10, 2019
Merged

Issue#16 - [JOKE] REST-endpoints + testing #30

merged 7 commits into from
Sep 10, 2019

Conversation

Runi-VN
Copy link
Owner

@Runi-VN Runi-VN commented Sep 10, 2019

Fixes #16

Add new throws, guards. Many EntityManager-methods returns null and not an exception.
Updated to reflect above.
Now runs IDs from 1 and not 29,30,...
Thanks to Castau
@Runi-VN Runi-VN self-assigned this Sep 10, 2019
@Runi-VN Runi-VN added this to the jokes.html milestone Sep 10, 2019
.body("reference", notNullValue())
.body("type", notNullValue())
.body("rating", notNullValue());
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nice way of testing the random-endpoint

@Runi-VN Runi-VN merged commit 51711e8 into master Sep 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Jokes endpoints and test
2 participants