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
ChangePassword_ShouldReturnBadRequest_WhenPasswordDoesNotMatch\(\)
[Fact]
public Task ChangePassword_ShouldReturnBadRequest_WhenPasswordDoesNotMatch()
Returns
ChangePassword_ShouldReturnBadRequest_WhenUserDoesNotExist\(\)
[Fact]
public Task ChangePassword_ShouldReturnBadRequest_WhenUserDoesNotExist()
Returns
ChangePassword_ShouldReturnSuccess_WhenUserExistsAndCommandIsValid\(\)
[Fact]
public Task ChangePassword_ShouldReturnSuccess_WhenUserExistsAndCommandIsValid()
Returns
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
InitializeAsync\(\)
Called immediately after the class has been created, before it is used.
public Task InitializeAsync()
Returns
Last modified: 21 May 2024