Skip to content
This repository was archived by the owner on Dec 27, 2024. It is now read-only.

Conversation

@AlexanderGarifullin
Copy link
Owner

@AlexanderGarifullin AlexanderGarifullin commented Nov 25, 2024

  1. Добавил регистрацию пользователей.
  2. Добавил эндпоинты для логина и логаута пользователя, jwt токен.
  3. Добавил возможность смены пароля.
  4. В качестве примера методы Create, Update, Delete для категорий разрешил только админам.
  5. Написал интеграционные тесты для регистрации, логина, логаута и сброса пароля + изменил старые тесты под авторизацию spring

assertAll(
() -> assertThat(jwtResponse.token()).isNotEmpty(),

() -> assertThat(token.isPresent()).isTrue(),
Copy link

@venommile venommile Nov 28, 2024

Choose a reason for hiding this comment

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

Suggested change
() -> assertThat(token.isPresent()).isTrue(),
() -> assertThat(token)).isPresent(),

Copy link
Owner Author

Choose a reason for hiding this comment

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

Поменял

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants