Skip to content

Merge pull request #67 from PinguApps/41-feat-account-update-preferen… #28

Merge pull request #67 from PinguApps/41-feat-account-update-preferen…

Merge pull request #67 from PinguApps/41-feat-account-update-preferen… #28

GitHub Actions / Test Results succeeded Jul 10, 2024 in 0s

All 125 tests pass in 3s

125 tests  +10   125 ✅ +10   3s ⏱️ -1s
  3 suites ± 0     0 💤 ± 0 
  3 files   ± 0     0 ❌ ± 0 

Results for commit 04e3f1f. ± Comparison against earlier commit 1a976f4.

Annotations

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Test Results

125 tests found

There are 125 tests, see "Raw output" for the full list of tests.
Raw output
PinguApps.Appwrite.Client.Tests.Clients.Account.AccountClientTests ‑ Create_ShouldHandleException_WhenApiCallFails
PinguApps.Appwrite.Client.Tests.Clients.Account.AccountClientTests ‑ Create_ShouldReturnErrorResponse_WhenExceptionOccurs
PinguApps.Appwrite.Client.Tests.Clients.Account.AccountClientTests ‑ Create_ShouldReturnSuccess_WhenApiCallSucceeds
PinguApps.Appwrite.Client.Tests.Clients.Account.AccountClientTests ‑ GetAccountPreferences_ShouldHandleException_WhenApiCallFails
PinguApps.Appwrite.Client.Tests.Clients.Account.AccountClientTests ‑ GetAccountPreferences_ShouldReturnErrorResponse_WhenExceptionOccurs
PinguApps.Appwrite.Client.Tests.Clients.Account.AccountClientTests ‑ GetAccountPreferences_ShouldReturnSuccess_WhenApiCallSucceeds
PinguApps.Appwrite.Client.Tests.Clients.Account.AccountClientTests ‑ Get_ShouldHandleException_WhenApiCallFails
PinguApps.Appwrite.Client.Tests.Clients.Account.AccountClientTests ‑ Get_ShouldReturnErrorResponse_WhenExceptionOccurs
PinguApps.Appwrite.Client.Tests.Clients.Account.AccountClientTests ‑ Get_ShouldReturnSuccess_WhenApiCallSucceeds
PinguApps.Appwrite.Client.Tests.Clients.Account.AccountClientTests ‑ UpdateEmail_ShouldHandleException_WhenApiCallFails
PinguApps.Appwrite.Client.Tests.Clients.Account.AccountClientTests ‑ UpdateEmail_ShouldReturnErrorResponse_WhenExceptionOccurs
PinguApps.Appwrite.Client.Tests.Clients.Account.AccountClientTests ‑ UpdateEmail_ShouldReturnSuccess_WhenApiCallSucceeds
PinguApps.Appwrite.Client.Tests.Clients.Account.AccountClientTests ‑ UpdateName_ShouldHandleException_WhenApiCallFails
PinguApps.Appwrite.Client.Tests.Clients.Account.AccountClientTests ‑ UpdateName_ShouldReturnErrorResponse_WhenExceptionOccurs
PinguApps.Appwrite.Client.Tests.Clients.Account.AccountClientTests ‑ UpdateName_ShouldReturnSuccess_WhenApiCallSucceeds
PinguApps.Appwrite.Client.Tests.Clients.Account.AccountClientTests ‑ UpdatePassword_ShouldHandleException_WhenApiCallFails
PinguApps.Appwrite.Client.Tests.Clients.Account.AccountClientTests ‑ UpdatePassword_ShouldReturnErrorResponse_WhenExceptionOccurs
PinguApps.Appwrite.Client.Tests.Clients.Account.AccountClientTests ‑ UpdatePassword_ShouldReturnSuccess_WhenApiCallSucceeds
PinguApps.Appwrite.Client.Tests.Clients.Account.AccountClientTests ‑ UpdatePhone_ShouldHandleException_WhenApiCallFails
PinguApps.Appwrite.Client.Tests.Clients.Account.AccountClientTests ‑ UpdatePhone_ShouldReturnErrorResponse_WhenExceptionOccurs
PinguApps.Appwrite.Client.Tests.Clients.Account.AccountClientTests ‑ UpdatePhone_ShouldReturnSuccess_WhenApiCallSucceeds
PinguApps.Appwrite.Client.Tests.Clients.Account.AccountClientTests ‑ UpdatePreferences_ShouldHandleException_WhenApiCallFails
PinguApps.Appwrite.Client.Tests.Clients.Account.AccountClientTests ‑ UpdatePreferences_ShouldReturnErrorResponse_WhenExceptionOccurs
PinguApps.Appwrite.Client.Tests.Clients.Account.AccountClientTests ‑ UpdatePreferences_ShouldReturnSuccess_WhenApiCallSucceeds
PinguApps.Appwrite.Client.Tests.Clients.AppwriteClientTests ‑ Constructor_SetsAccountClient
PinguApps.Appwrite.Client.Tests.Clients.AppwriteClientTests ‑ Session_InitiallyNull_ReturnsNull
PinguApps.Appwrite.Client.Tests.Clients.AppwriteClientTests ‑ SetSession_UpdatesSession
PinguApps.Appwrite.Client.Tests.Clients.AppwriteClientTests ‑ SetSession_UpdatesSessionInAccountClient
PinguApps.Appwrite.Client.Tests.Handlers.HeaderHandlerTests ‑ SendAsync_AddsRequiredHeaders
PinguApps.Appwrite.Client.Tests.ServiceCollectionExtensionsTests ‑ AddAppwriteClientForServer_RegistersExpectedServicesWithTransientLifetime
PinguApps.Appwrite.Client.Tests.ServiceCollectionExtensionsTests ‑ AddAppwriteClient_RegistersExpectedServices
PinguApps.Appwrite.Client.Tests.Utils.ResponseUtilsTests ‑ GetApiResponse_FailureButNullErrorContent_ThrowsException
PinguApps.Appwrite.Client.Tests.Utils.ResponseUtilsTests ‑ GetApiResponse_Failure_ReturnsError
PinguApps.Appwrite.Client.Tests.Utils.ResponseUtilsTests ‑ GetApiResponse_SuccessButNullContent_ReturnsInternalError
PinguApps.Appwrite.Client.Tests.Utils.ResponseUtilsTests ‑ GetApiResponse_Success_ReturnsContent
PinguApps.Appwrite.Client.Tests.Utils.ResponseUtilsTests ‑ GetExceptionResponse_ReturnsInternalError
PinguApps.Appwrite.Server.Tests.Handlers.HeaderHandlerTests ‑ SendAsync_AddsRequiredHeaders
PinguApps.Appwrite.Server.Tests.Servers.Account.AccountServerTests ‑ Create_ShouldHandleException_WhenApiCallFails
PinguApps.Appwrite.Server.Tests.Servers.Account.AccountServerTests ‑ Create_ShouldReturnErrorResponse_WhenExceptionOccurs
PinguApps.Appwrite.Server.Tests.Servers.Account.AccountServerTests ‑ Create_ShouldReturnSuccess_WhenApiCallSucceeds
PinguApps.Appwrite.Server.Tests.Servers.AppwriteServerTests ‑ Constructor_AssignsAccountServerCorrectly
PinguApps.Appwrite.Server.Tests.ServiceCollectionExtensionsTests ‑ AddAppwriteServer_RegistersExpectedServices
PinguApps.Appwrite.Server.Tests.Utils.ResponseUtilsTests ‑ GetApiResponse_FailureButNullErrorContent_ThrowsException
PinguApps.Appwrite.Server.Tests.Utils.ResponseUtilsTests ‑ GetApiResponse_Failure_ReturnsError
PinguApps.Appwrite.Server.Tests.Utils.ResponseUtilsTests ‑ GetApiResponse_SuccessButNullContent_ReturnsInternalError
PinguApps.Appwrite.Server.Tests.Utils.ResponseUtilsTests ‑ GetApiResponse_Success_ReturnsContent
PinguApps.Appwrite.Server.Tests.Utils.ResponseUtilsTests ‑ GetExceptionResponse_ReturnsInternalError
PinguApps.Appwrite.Shared.Tests.AppwriteErrorTests ‑ AppwriteError_Constructor_ShouldSetPropertiesCorrectly
PinguApps.Appwrite.Shared.Tests.AppwriteResultTests ‑ Constructor_WithAppwriteError_IsAppwriteErrorIsTrue
PinguApps.Appwrite.Shared.Tests.AppwriteResultTests ‑ Constructor_WithInternalError_IsInternalErrorIsTrue
PinguApps.Appwrite.Shared.Tests.AppwriteResultTests ‑ Constructor_WithTResult_SuccessIsTrue
PinguApps.Appwrite.Shared.Tests.InternalErrorTests ‑ Constructor_AssignsMessage
PinguApps.Appwrite.Shared.Tests.Requests.CreateAccountRequestTests ‑ Constructor_InitializesWithExpectedValues
PinguApps.Appwrite.Shared.Tests.Requests.CreateAccountRequestTests ‑ IsValid_WithInvalidData_ReturnsFalse(userId: "", email: "[email protected]", password: "Password", name: "Pingu")
PinguApps.Appwrite.Shared.Tests.Requests.CreateAccountRequestTests ‑ IsValid_WithInvalidData_ReturnsFalse(userId: "-bad", email: "[email protected]", password: "Password", name: "Pingu")
PinguApps.Appwrite.Shared.Tests.Requests.CreateAccountRequestTests ‑ IsValid_WithInvalidData_ReturnsFalse(userId: ".bad", email: "[email protected]", password: "Password", name: "Pingu")
PinguApps.Appwrite.Shared.Tests.Requests.CreateAccountRequestTests ‑ IsValid_WithInvalidData_ReturnsFalse(userId: "1234567890123456789012345678901234567", email: "[email protected]", password: "Password", name: "Pingu")
PinguApps.Appwrite.Shared.Tests.Requests.CreateAccountRequestTests ‑ IsValid_WithInvalidData_ReturnsFalse(userId: "_bad", email: "[email protected]", password: "Password", name: "Pingu")
PinguApps.Appwrite.Shared.Tests.Requests.CreateAccountRequestTests ‑ IsValid_WithInvalidData_ReturnsFalse(userId: "badChar^", email: "[email protected]", password: "Password", name: "Pingu")
PinguApps.Appwrite.Shared.Tests.Requests.CreateAccountRequestTests ‑ IsValid_WithInvalidData_ReturnsFalse(userId: null, email: "", password: "Password", name: "Pingu")
PinguApps.Appwrite.Shared.Tests.Requests.CreateAccountRequestTests ‑ IsValid_WithInvalidData_ReturnsFalse(userId: null, email: "not an email", password: "Password", name: "Pingu")
PinguApps.Appwrite.Shared.Tests.Requests.CreateAccountRequestTests ‑ IsValid_WithInvalidData_ReturnsFalse(userId: null, email: "[email protected]", password: "", name: "Pingu")
PinguApps.Appwrite.Shared.Tests.Requests.CreateAccountRequestTests ‑ IsValid_WithInvalidData_ReturnsFalse(userId: null, email: "[email protected]", password: "short", name: "Pingu")
PinguApps.Appwrite.Shared.Tests.Requests.CreateAccountRequestTests ‑ IsValid_WithValidData_ReturnsTrue(userId: "321654987", email: "[email protected]", password: "12345678", name: "Pingu")
PinguApps.Appwrite.Shared.Tests.Requests.CreateAccountRequestTests ‑ IsValid_WithValidData_ReturnsTrue(userId: "a.s-d_f", email: "[email protected]", password: "12345678", name: "Pingu")
PinguApps.Appwrite.Shared.Tests.Requests.CreateAccountRequestTests ‑ IsValid_WithValidData_ReturnsTrue(userId: null, email: "[email protected]", password: "Password", name: null)
PinguApps.Appwrite.Shared.Tests.Requests.CreateAccountRequestTests ‑ Properties_CanBeSet(email: "[email protected]", password: "diffPassword", name: null)
PinguApps.Appwrite.Shared.Tests.Requests.CreateAccountRequestTests ‑ Properties_CanBeSet(email: "[email protected]", password: "password123", name: "Test User")
PinguApps.Appwrite.Shared.Tests.Requests.CreateAccountRequestTests ‑ Validate_WithThrowOnFailuresFalse_ReturnsInvalidResultOnFailure
PinguApps.Appwrite.Shared.Tests.Requests.CreateAccountRequestTests ‑ Validate_WithThrowOnFailuresTrue_ThrowsValidationExceptionOnFailure
PinguApps.Appwrite.Shared.Tests.Requests.UpdateEmailRequestTests ‑ Constructor_InitializesWithExpectedValues
PinguApps.Appwrite.Shared.Tests.Requests.UpdateEmailRequestTests ‑ IsValid_WithInvalidData_ReturnsFalse(email: "", password: "Password")
PinguApps.Appwrite.Shared.Tests.Requests.UpdateEmailRequestTests ‑ IsValid_WithInvalidData_ReturnsFalse(email: "not an email", password: "Password")
PinguApps.Appwrite.Shared.Tests.Requests.UpdateEmailRequestTests ‑ IsValid_WithInvalidData_ReturnsFalse(email: "[email protected]", password: "")
PinguApps.Appwrite.Shared.Tests.Requests.UpdateEmailRequestTests ‑ IsValid_WithInvalidData_ReturnsFalse(email: "[email protected]", password: "short")
PinguApps.Appwrite.Shared.Tests.Requests.UpdateEmailRequestTests ‑ IsValid_WithValidData_ReturnsTrue(email: "[email protected]", password: "Password")
PinguApps.Appwrite.Shared.Tests.Requests.UpdateEmailRequestTests ‑ IsValid_WithValidData_ReturnsTrue(email: "[email protected]", password: "£$%^&*()")
PinguApps.Appwrite.Shared.Tests.Requests.UpdateEmailRequestTests ‑ Properties_CanBeSet(email: "[email protected]", password: "diffPassword")
PinguApps.Appwrite.Shared.Tests.Requests.UpdateEmailRequestTests ‑ Properties_CanBeSet(email: "[email protected]", password: "password123")
PinguApps.Appwrite.Shared.Tests.Requests.UpdateEmailRequestTests ‑ Validate_WithThrowOnFailuresFalse_ReturnsInvalidResultOnFailure
PinguApps.Appwrite.Shared.Tests.Requests.UpdateEmailRequestTests ‑ Validate_WithThrowOnFailuresTrue_ThrowsValidationExceptionOnFailure
PinguApps.Appwrite.Shared.Tests.Requests.UpdateNameRequestTests ‑ Constructor_InitializesWithExpectedValues
PinguApps.Appwrite.Shared.Tests.Requests.UpdateNameRequestTests ‑ IsValid_WithInvalidData_ReturnsFalse(name: "")
PinguApps.Appwrite.Shared.Tests.Requests.UpdateNameRequestTests ‑ IsValid_WithValidData_ReturnsTrue(name: "John Smith")
PinguApps.Appwrite.Shared.Tests.Requests.UpdateNameRequestTests ‑ IsValid_WithValidData_ReturnsTrue(name: "John")
PinguApps.Appwrite.Shared.Tests.Requests.UpdateNameRequestTests ‑ Properties_CanBeSet(name: "name1")
PinguApps.Appwrite.Shared.Tests.Requests.UpdateNameRequestTests ‑ Properties_CanBeSet(name: "name2")
PinguApps.Appwrite.Shared.Tests.Requests.UpdateNameRequestTests ‑ Validate_WithThrowOnFailuresFalse_ReturnsInvalidResultOnFailure
PinguApps.Appwrite.Shared.Tests.Requests.UpdateNameRequestTests ‑ Validate_WithThrowOnFailuresTrue_ThrowsValidationExceptionOnFailure
PinguApps.Appwrite.Shared.Tests.Requests.UpdatePasswordRequestTests ‑ Constructor_InitializesWithExpectedValues
PinguApps.Appwrite.Shared.Tests.Requests.UpdatePasswordRequestTests ‑ IsValid_WithInvalidData_ReturnsFalse(oldPassword: "Password", newPassword: "")
PinguApps.Appwrite.Shared.Tests.Requests.UpdatePasswordRequestTests ‑ IsValid_WithInvalidData_ReturnsFalse(oldPassword: "Password", newPassword: "pass")
PinguApps.Appwrite.Shared.Tests.Requests.UpdatePasswordRequestTests ‑ IsValid_WithInvalidData_ReturnsFalse(oldPassword: "pass", newPassword: "Password")
PinguApps.Appwrite.Shared.Tests.Requests.UpdatePasswordRequestTests ‑ IsValid_WithValidData_ReturnsTrue(oldPassword: "Password", newPassword: "Passw0rd")
PinguApps.Appwrite.Shared.Tests.Requests.UpdatePasswordRequestTests ‑ IsValid_WithValidData_ReturnsTrue(oldPassword: null, newPassword: "Password")
PinguApps.Appwrite.Shared.Tests.Requests.UpdatePasswordRequestTests ‑ Properties_CanBeSet(oldPassword: "oldPassword", newPassword: "newPassword")
PinguApps.Appwrite.Shared.Tests.Requests.UpdatePasswordRequestTests ‑ Properties_CanBeSet(oldPassword: null, newPassword: "anotherPassword")
PinguApps.Appwrite.Shared.Tests.Requests.UpdatePasswordRequestTests ‑ Validate_WithThrowOnFailuresFalse_ReturnsInvalidResultOnFailure
PinguApps.Appwrite.Shared.Tests.Requests.UpdatePasswordRequestTests ‑ Validate_WithThrowOnFailuresTrue_ThrowsValidationExceptionOnFailure
PinguApps.Appwrite.Shared.Tests.Requests.UpdatePhoneRequestTests ‑ Constructor_InitializesWithExpectedValues
PinguApps.Appwrite.Shared.Tests.Requests.UpdatePhoneRequestTests ‑ IsValid_WithInvalidInputs_ReturnsFalse(phone: "", password: "password123")
PinguApps.Appwrite.Shared.Tests.Requests.UpdatePhoneRequestTests ‑ IsValid_WithInvalidInputs_ReturnsFalse(phone: "+16175551212", password: "")
PinguApps.Appwrite.Shared.Tests.Requests.UpdatePhoneRequestTests ‑ IsValid_WithInvalidInputs_ReturnsFalse(phone: "+16175551212", password: "pass")
PinguApps.Appwrite.Shared.Tests.Requests.UpdatePhoneRequestTests ‑ IsValid_WithInvalidInputs_ReturnsFalse(phone: "16175551212", password: "password123")
PinguApps.Appwrite.Shared.Tests.Requests.UpdatePhoneRequestTests ‑ IsValid_WithValidPhoneAndPassword_ReturnsTrue
PinguApps.Appwrite.Shared.Tests.Requests.UpdatePhoneRequestTests ‑ Properties_CanBeSet(password: "drowssap", phone: "+987654321")
PinguApps.Appwrite.Shared.Tests.Requests.UpdatePhoneRequestTests ‑ Properties_CanBeSet(password: "password", phone: "+123456789")
PinguApps.Appwrite.Shared.Tests.Requests.UpdatePhoneRequestTests ‑ Validate_WithThrowOnFailuresFalse_ReturnsInvalidResultOnFailure
PinguApps.Appwrite.Shared.Tests.Requests.UpdatePhoneRequestTests ‑ Validate_WithThrowOnFailuresTrue_ThrowsValidationExceptionOnFailure
PinguApps.Appwrite.Shared.Tests.Requests.UpdatePreferencesRequestTests ‑ Constructor_InitializesWithExpectedValues
PinguApps.Appwrite.Shared.Tests.Requests.UpdatePreferencesRequestTests ‑ IsValid_WithInvalidInputs_ReturnsFalse
PinguApps.Appwrite.Shared.Tests.Requests.UpdatePreferencesRequestTests ‑ IsValid_WithValidPhoneAndPassword_ReturnsTrue
PinguApps.Appwrite.Shared.Tests.Requests.UpdatePreferencesRequestTests ‑ Properties_CanBeSet(dict: [["key1"] = "val1", ["key2"] = "val2"])
PinguApps.Appwrite.Shared.Tests.Requests.UpdatePreferencesRequestTests ‑ Properties_CanBeSet(dict: [])
PinguApps.Appwrite.Shared.Tests.Requests.UpdatePreferencesRequestTests ‑ Validate_WithThrowOnFailuresFalse_ReturnsInvalidResultOnFailure
PinguApps.Appwrite.Shared.Tests.Requests.UpdatePreferencesRequestTests ‑ Validate_WithThrowOnFailuresTrue_ThrowsValidationExceptionOnFailure
PinguApps.Appwrite.Shared.Tests.Responses.UserTests ‑ User_CanBeDeserialized_FromJson
PinguApps.Appwrite.Shared.Tests.Responses.UserTests ‑ User_Constructor_AssignsPropertiesCorrectly
PinguApps.Appwrite.Shared.Tests.Utils.IdUtilsTests ‑ GenerateUniqueId_Returns_UniqueValues
PinguApps.Appwrite.Shared.Tests.Utils.IdUtilsTests ‑ GenerateUniqueId_WithPadding_Returns_CorrectLength(padding: 10)
PinguApps.Appwrite.Shared.Tests.Utils.IdUtilsTests ‑ GenerateUniqueId_WithPadding_Returns_CorrectLength(padding: 5)
PinguApps.Appwrite.Shared.Tests.Utils.IdUtilsTests ‑ GenerateUniqueId_WithPadding_Returns_CorrectLength(padding: 7)
PinguApps.Appwrite.Shared.Tests.Utils.IdUtilsTests ‑ GenerateUniqueId_WithoutPadding_Returns_DefaultLength
PinguApps.Appwrite.Shared.Tests.Utils.IdUtilsTests ‑ GetHexTimestamp_Returns_ExpectedLength
PinguApps.Appwrite.Shared.Tests.Utils.IdUtilsTests ‑ GetHexTimestamp_Returns_ValidHexFormat