Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Working Chat #153

Merged
merged 96 commits into from
Aug 30, 2023

Merge branch 'main' into chat

70e41c5
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Working Chat #153

Merge branch 'main' into chat
70e41c5
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Report succeeded Aug 30, 2023 in 1s

Test Report ✅

Tests passed successfully

✅ tests/web/Jordnaer.Server.Tests/TestResults/test-results.trx

35 tests were completed in 58s with 35 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Jordnaer.Server.Tests.Authentication.AuthApi_Should 10✅ 3s
Jordnaer.Server.Tests.Authentication.DeleteUserService_Should 7✅ 108ms
Jordnaer.Server.Tests.Authentication.UserService_Should 6✅ 504ms
Jordnaer.Server.Tests.AzureAppConfiguration_Should 4✅ 30s
Jordnaer.Server.Tests.UserSearch.UserSearchApi_Should 1✅ 1s
Jordnaer.Server.Tests.UserSearch.UserSearchService_Should 7✅ 722ms

✅ Jordnaer.Server.Tests.Authentication.AuthApi_Should

✅ Fail_To_Login_User_When_User_Info_Is_Not_Registered
✅ Fail_To_Logout_User_When_User_Is_Not_Logged_In_And_Redirect_To_Login
✅ Fail_To_Register_User_When_User_Info_Is_Invalid(invalidPassword: "123456789")
✅ Fail_To_Register_User_When_User_Info_Is_Invalid(invalidPassword: "12345AAAAA")
✅ Fail_To_Register_User_When_User_Info_Is_Invalid(invalidPassword: "aaaaaaaaaa")
✅ Fail_To_Register_User_When_User_Info_Is_Invalid(invalidPassword: "aaaaaAAAAA")
✅ Fail_To_Register_User_When_User_Is_Already_Registered
✅ Login_User_When_User_Info_Is_Valid
✅ Logout_User_When_User_Is_Authenticated
✅ Register_User_When_User_Info_Is_Valid

✅ Jordnaer.Server.Tests.Authentication.DeleteUserService_Should

✅ DeleteUserAsync_Should_Delete_User_When_Token_Is_Valid
✅ DeleteUserAsync_Should_Not_Delete_User_When_DeleteAsync_Fails
✅ DeleteUserAsync_Should_Not_Delete_User_When_Exception_Thrown
✅ DeleteUserAsync_Should_Not_Delete_User_When_ExecuteDeleteAsync_Fails
✅ DeleteUserAsync_Should_Not_Delete_User_When_Token_Is_Invalid
✅ InitiateDeleteUserAsync_Should_Not_Send_Email_When_HttpContext_Is_Null
✅ InitiateDeleteUserAsync_Should_Send_Email_On_Success

✅ Jordnaer.Server.Tests.Authentication.UserService_Should

✅ Create_User_When_User_Info_Is_Valid
✅ CreateUserAsync_Should_Not_Create_User_When_Invalid
✅ IsLoginValidAsync_Should_Return_False_When_Password_Not_Matching
✅ IsLoginValidAsync_Should_Return_False_When_User_Is_LockedOut
✅ IsLoginValidAsync_Should_Return_False_When_User_Not_Found
✅ IsLoginValidAsync_Should_Return_True_When_Valid

✅ Jordnaer.Server.Tests.AzureAppConfiguration_Should

✅ Contain_Authentication_Scheme_Facebook
✅ Contain_Authentication_Scheme_Google
✅ Contain_Authentication_Scheme_Microsoft
✅ Contain_ConnectionString_JordnaerDbContext

✅ Jordnaer.Server.Tests.UserSearch.UserSearchApi_Should

✅ Return_UserSearchResult_WhenCallIsValid

✅ Jordnaer.Server.Tests.UserSearch.UserSearchService_Should

✅ Return_UserSearchResult_Given_Valid_Filter
✅ Return_UserSearchResult_With_ChildGender_Filter
✅ Return_UserSearchResult_With_Location_Filter
✅ Return_UserSearchResult_With_LookingFor_Filter
✅ Return_UserSearchResult_With_MaximumChildAge_Filter
✅ Return_UserSearchResult_With_MinimumChildAge_Filter
✅ Return_UserSearchResult_With_Name_Filter