Skip to content

Merge branch 'main' into landing-page #53

Merge branch 'main' into landing-page

Merge branch 'main' into landing-page #53

GitHub Actions / Test Report succeeded Oct 7, 2023 in 1s

Test Report ✅

Tests passed successfully

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

49 tests were completed in 55s with 49 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Jordnaer.Server.Tests.Authentication.AuthApi_Should 10✅ 2s
Jordnaer.Server.Tests.Authentication.DeleteUserService_Should 7✅ 330ms
Jordnaer.Server.Tests.Authentication.UserService_Should 6✅ 48ms
Jordnaer.Server.Tests.AzureAppConfiguration_Should 4✅ 28s
Jordnaer.Server.Tests.LookingFor.LookingForApi_Should 1✅ 34ms
Jordnaer.Server.Tests.Profile.ImageService_Should 4✅ 4s
Jordnaer.Server.Tests.Profile.ProfileApi_Should 3✅ 1s
Jordnaer.Server.Tests.UserSearch.DataForsyningenClient_Should 3✅ 1s
Jordnaer.Server.Tests.UserSearch.UserSearchApi_Should 1✅ 687ms
Jordnaer.Server.Tests.UserSearch.UserSearchService_Should 10✅ 633ms

✅ 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.LookingFor.LookingForApi_Should

✅ Get_LookingForList_Successfully

✅ Jordnaer.Server.Tests.Profile.ImageService_Should

✅ DeleteImage_Successfully
✅ UploadImage_OverridesExistingBlob_Successfully
✅ UploadImage_UsingByteArray_Successfully
✅ UploadImage_UsingFileStream_Successfully

✅ Jordnaer.Server.Tests.Profile.ProfileApi_Should

✅ Get_Current_User_Profile
✅ Update_Current_User_Profile_Successfully
✅ Update_Current_User_Profile_Unauthorized

✅ Jordnaer.Server.Tests.UserSearch.DataForsyningenClient_Should

✅ Get_Addresses_With_AutoComplete
✅ Get_ZipCodes_Within_Circle
✅ Ping_Data_Forsyningen_API

✅ 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_CombinedName_Filter
✅ Return_UserSearchResult_With_FirstName_Filter
✅ Return_UserSearchResult_With_LastName_Filter
✅ Return_UserSearchResult_With_Location_Filter
✅ Return_UserSearchResult_With_LookingFor_Filter
✅ Return_UserSearchResult_With_MaximumChildAge_Filter
✅ Return_UserSearchResult_With_MinimumChildAge_Filter
✅ Return_UserSearchResult_With_ProfileName_Filter