feat: add logout api #19
GitHub Actions / DotNET Tests
succeeded
Aug 22, 2024 in 0s
17 passed, 0 failed and 0 skipped
✅ test/TestResults/test-results.trx
17 tests were completed in 786ms with 17 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
test.Application.UnitTests.Services.DomainService.IdentityServiceTests | 11✅ | 119ms | ||
test.UnitTest1 | 1✅ | 3ms | ||
test.Web.UnitTests.Controllers.IdentityControllerTests | 5✅ | 123ms |
✅ test.Application.UnitTests.Services.DomainService.IdentityServiceTests
✅ ChangeRole_WhenOperationSucceeds_ReturnsSuccessResult
✅ ChangeRole_WhenRoleDoesNotExist_ReturnsFailResult
✅ ChangeRole_WhenUserDoesNotExist_ReturnsFailResult
✅ GetUsersAsync_ReturnsUserListWithRoles
✅ Login_WhenLoginSucceeds_ReturnsSuccessResult
✅ Login_WhenPasswordIncorrect_ReturnsFailResult
✅ Login_WhenUsernameNotFound_ReturnsFailResult
✅ SignUpUser_WhenRoleAssignmentFails_ReturnsFailResult
✅ SignUpUser_WhenRoleDoesNotExist_ReturnsFailResult
✅ SignUpUser_WhenUserCreationFails_ReturnsFailResult
✅ SignUpUser_WhenUserIsCreatedAndRoleAssignedSuccessfully_ReturnsSuccessResult
✅ test.UnitTest1
✅ Test1
✅ test.Web.UnitTests.Controllers.IdentityControllerTests
✅ ChangeRole_WhenOperationSucceeds_ReturnsOk
✅ ChangeRole_WhenRoleDoesNotExist_ReturnsBadRequest
✅ Login_WhenLoginSucceeds_ReturnsOkResult
✅ Signup_WhenRoleDoesNotExist_ReturnsBadRequest
✅ Signup_WhenSignUpSucceeds_ReturnsOkResult
Loading