mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 07:36:14 -05:00
Update API endpoint to use RegisterResponseModel (#2282)
This commit is contained in:
@ -30,6 +30,7 @@ public class AccountsControllerTests : IDisposable
|
||||
private readonly ISendRepository _sendRepository;
|
||||
private readonly ISendService _sendService;
|
||||
private readonly IProviderUserRepository _providerUserRepository;
|
||||
private readonly ICaptchaValidationService _captchaValidationService;
|
||||
|
||||
public AccountsControllerTests()
|
||||
{
|
||||
@ -44,6 +45,7 @@ public class AccountsControllerTests : IDisposable
|
||||
_globalSettings = new GlobalSettings();
|
||||
_sendRepository = Substitute.For<ISendRepository>();
|
||||
_sendService = Substitute.For<ISendService>();
|
||||
_captchaValidationService = Substitute.For<ICaptchaValidationService>();
|
||||
_sut = new AccountsController(
|
||||
_globalSettings,
|
||||
_cipherRepository,
|
||||
@ -55,7 +57,8 @@ public class AccountsControllerTests : IDisposable
|
||||
_userRepository,
|
||||
_userService,
|
||||
_sendRepository,
|
||||
_sendService
|
||||
_sendService,
|
||||
_captchaValidationService
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user