Owneat Technical Guide main Help

Class UpdateUserIntegrationTests

Namespace: Identity.IntegrationTests.Controllers.UserController.Handlers
Assembly: Identity.IntegrationTests.dll

[Collection("Identity")] public class UpdateUserIntegrationTests : IAsyncLifetime

Inheritance

object ← UpdateUserIntegrationTests

Implements

IAsyncLifetime

Inherited Members

object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.MemberwiseClone\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)

Constructors

UpdateUserIntegrationTests\(IdentityApiFactory\)

public UpdateUserIntegrationTests(IdentityApiFactory factory)

Parameters

factory IdentityApiFactory

Methods

DisposeAsync\(\)

Called when an object is no longer needed. Called just before System.IDisposable.Dispose if the class also implements that.

public Task DisposeAsync()

Returns

Task

InitializeAsync\(\)

Called immediately after the class has been created, before it is used.

public Task InitializeAsync()

Returns

Task

UpdateUser_ShouldReturnConflictException_WhenUserAlreadyExists\(\)

[Fact] public Task UpdateUser_ShouldReturnConflictException_WhenUserAlreadyExists()

Returns

Task

UpdateUser_ShouldReturnNotFoundException_WhenUserDoesNotExist\(\)

[Fact] public Task UpdateUser_ShouldReturnNotFoundException_WhenUserDoesNotExist()

Returns

Task

UpdateUser_ShouldReturnValidationError_WhenCommandIsInvalid\(\)

[Fact] public Task UpdateUser_ShouldReturnValidationError_WhenCommandIsInvalid()

Returns

Task

UpdateUser_ShouldUpdateAndReturnUser_WhenCommandIsValidAndUserExists\(\)

[Fact] public Task UpdateUser_ShouldUpdateAndReturnUser_WhenCommandIsValidAndUserExists()

Returns

Task

Last modified: 21 May 2024