Skip to content

YH-2129: add error handling to deleteQuestionMock#1312

Merged
PerelomaDenis merged 5 commits into
developfrom
feature/YH-2129
Jul 1, 2026
Merged

YH-2129: add error handling to deleteQuestionMock#1312
PerelomaDenis merged 5 commits into
developfrom
feature/YH-2129

Conversation

@frontichka

Copy link
Copy Markdown
Collaborator

Для deleteQuestionMock добавлена обработка ошибок:

  1. Пользователь авторизован
  2. Пользователь верифицирован
  3. Удаление автором только своего вопроса созданного им
  4. Вопрос не найден
  5. Вопрос привязан к какой то коллекции

@frontichka frontichka self-assigned this Jun 25, 2026
@frontichka frontichka added review the task is currently being reviewed feature New functionality or improvements labels Jun 25, 2026
Comment thread src/features/question/deleteQuestion/api/__mocks__/deleteQuestionMock.ts Outdated
@PerelomaDenis PerelomaDenis added comments Code improvements are required conflicts Conflicts need to be fixed and removed review the task is currently being reviewed labels Jun 26, 2026
@PerelomaDenis PerelomaDenis added merge Can merge this branch and removed conflicts Conflicts need to be fixed comments Code improvements are required labels Jul 1, 2026
@PerelomaDenis PerelomaDenis merged commit 99c5c0e into develop Jul 1, 2026
1 check passed
@PerelomaDenis PerelomaDenis deleted the feature/YH-2129 branch July 1, 2026 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New functionality or improvements merge Can merge this branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants