1
0
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:
Addison Beck
2022-09-19 09:35:57 -04:00
committed by GitHub
parent 26fc67eec6
commit d0c793c951
6 changed files with 26 additions and 17 deletions

View File

@ -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
);
}