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

Added tests for a Book functionality #14

Merged
merged 1 commit into from
Aug 9, 2024
Merged

Added tests for a Book functionality #14

merged 1 commit into from
Aug 9, 2024

Conversation

TarasYashchuk
Copy link
Owner

image

Comment on lines +248 to +252
bookDtoWithoutCategoryIds.setTitle(book.getTitle());
bookDtoWithoutCategoryIds.setAuthor(book.getAuthor());
bookDtoWithoutCategoryIds.setIsbn(book.getIsbn());
bookDtoWithoutCategoryIds.setPrice(book.getPrice());
bookDtoWithoutCategoryIds.setDescription(book.getDescription());
Copy link

Choose a reason for hiding this comment

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

i would consider using builder for such cases

Comment on lines +123 to +127
<dependency>
<groupId>net.datafaker</groupId>
<artifactId>datafaker</artifactId>
<version>2.3.1</version>
</dependency>
Copy link

Choose a reason for hiding this comment

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

interesting!

@TarasYashchuk TarasYashchuk merged commit fcbc0c7 into master Aug 9, 2024
2 of 3 checks passed
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 this pull request may close these issues.

2 participants