Skip to content

Conversation

@LetaTreiden
Copy link
Owner

No description provided.

@LetaTreiden
Copy link
Owner Author

Не знаю как обойти ошибку UnfinishedStubbingException в BookingServiceTest, погуглила, но никакого решения не нашла
все остальное должно работать...

Copy link

@TyutterinYakov TyutterinYakov left a comment

Choose a reason for hiding this comment

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

Добрый день! Отметил то, что следует исправить на данном этапе. Так же следует разобраться с ошибкой, из-за которой не запускаются тесты на гитхаб.
image
Хорошего дня! Если возникнут вопросы - пиши в пачку, буду рад помочь🌅

Copy link

@TyutterinYakov TyutterinYakov left a comment

Choose a reason for hiding this comment

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

Добрый день! Поздравляю с успешной сдачей спринта! Отметил еще парочку мелких недочетов, но думаю, что ты справишься с ними вне ревью! Успехов в обучении и прекрасного дня!🌅🥳

RequestDTOWithItems itemRequestDtoResult;
List<ItemDTO> itemsToReturn;
if (!items.isEmpty()) {
itemsToReturn = items.get(request)

Choose a reason for hiding this comment

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

В данном случае следует использовать getOrDefault, так как не у всех ItemRequest гарантированно будут предметы, из-за чего может возникнуть NPE

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.

3 participants