-
Notifications
You must be signed in to change notification settings - Fork 57
BJS2-76950 #3102
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
base: kraken-master-stream10
Are you sure you want to change the base?
BJS2-76950 #3102
Conversation
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.
Написал замечание для одного фильтра, но по сути можно ко всем отнести. А так супер)
src/test/java/school/faang/user_service/service/Controller/SubscriptionControllerTest.java
Show resolved
Hide resolved
src/test/java/school/faang/user_service/service/Controller/SubscriptionControllerTest.java
Show resolved
Hide resolved
src/test/java/school/faang/user_service/service/Filter/ExperienceMaxFilterTest.java
Outdated
Show resolved
Hide resolved
src/test/java/school/faang/user_service/service/Filter/ExperienceMaxFilterTest.java
Show resolved
Hide resolved
public void testFollowUser_FollowsSelf() { | ||
long userId = 1; | ||
|
||
DataValidationException exception = assertThrows(DataValidationException.class, () -> { |
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.
А зачем так сложно? Достаточно же просто assertThrow вызвать
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.
Для того чтобы проверить текст сообщения об ошибке
No description provided.