Owneat Technical Guide main Help

Class ChangePasswordIntegrationTests

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

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

Inheritance

object ← ChangePasswordIntegrationTests

Implements

IAsyncLifetime

Inherited Members

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

Constructors

ChangePasswordIntegrationTests\(IdentityApiFactory\)

public ChangePasswordIntegrationTests(IdentityApiFactory factory)

Parameters

factory IdentityApiFactory

Methods

ChangePassword_ShouldReturnBadRequest_WhenCommandIsInvalid\(\)

[Fact] public Task ChangePassword_ShouldReturnBadRequest_WhenCommandIsInvalid()

Returns

Task

ChangePassword_ShouldReturnBadRequest_WhenPasswordDoesNotMatch\(\)

[Fact] public Task ChangePassword_ShouldReturnBadRequest_WhenPasswordDoesNotMatch()

Returns

Task

ChangePassword_ShouldReturnBadRequest_WhenUserDoesNotExist\(\)

[Fact] public Task ChangePassword_ShouldReturnBadRequest_WhenUserDoesNotExist()

Returns

Task

ChangePassword_ShouldReturnSuccess_WhenUserExistsAndCommandIsValid\(\)

[Fact] public Task ChangePassword_ShouldReturnSuccess_WhenUserExistsAndCommandIsValid()

Returns

Task

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

Last modified: 21 May 2024