Skip to content

Write Tests for AccountService #29

@MarkHmnv

Description

@MarkHmnv

Description

Write Tests for AccountService

Tasks

  • AccountService + AccountController:
  • Save User successfully
  • Log in successfully
  • Log in when account is deleted
  • Log in with incorrect password
  • Update User profile successfully
  • Update User profile with incorrect data
  • Change User password successfully
  • Change User password with wrong old password
  • Send email to restore password successfully
  • Send email to restore password when User is not found
  • Restore password with token successfully
  • Restore password with not found token
  • Delete User account
  • Restore deleted account with token successfully
  • Restore deleted account with not found token
  • TalentService + TalentController:
  • Get all talents successfully
  • SponsorService + SponsorController:
  • Get all sponsors successfully
  • AdminService + AdminController:
  • Get all users with moderation status
  • Block user successfully
  • Block user with status BLOCKED
  • Unblock user successfully
  • Unblock user with status ACTIVE or ON_MODERATION
  • Activate user successfully
  • Activate user with status ACTIVE
  • SkillService + SkillController:
  • Get all skills successfully
  • Update Talent skills successfully
  • Update Talent skills when talent is not found
  • Update Talent skills when skill is not found
  • ReportService + TalentController + SponsorController
  • Report Talent successfully
  • Report Talent that is not found
  • Check toxicity and report Talent
  • Check toxicity and don't report Talent
  • Report Sponsor successfully
  • Report Sponsor that is not found
  • Check toxicity and report Sponsor
  • Check toxicity and don't report Sponsor

Metadata

Metadata

Labels

HighHigh priorityMicroserviceTask related to microservice architecture

Type

No type
No fields configured for issues without a type.

Projects

Status
Backlog💬

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions