add tests batch 20

This commit is contained in:
root
2026-06-09 01:03:53 -04:00
parent 95efb9652e
commit 6be4875c5e
1502 changed files with 13797 additions and 11313 deletions
@@ -35,7 +35,7 @@ class RegistrationServiceTest extends TestCase
'is_active' => 1,
]);
$captchaService = new RegistrationCaptchaService;
$captchaService = new RegistrationCaptchaService();
$captcha = $captchaService->generate(4);
$emailService = Mockery::mock(EmailService::class);
@@ -43,8 +43,8 @@ class RegistrationServiceTest extends TestCase
$service = new RegistrationService(
$emailService,
new SchoolIdService,
new RegistrationFormatterService(new PhoneFormatterService),
new SchoolIdService(),
new RegistrationFormatterService(new PhoneFormatterService()),
$captchaService
);
@@ -115,7 +115,7 @@ class RegistrationServiceTest extends TestCase
'token' => 'token',
]);
$captchaService = new RegistrationCaptchaService;
$captchaService = new RegistrationCaptchaService();
$captcha = $captchaService->generate(4);
$emailService = Mockery::mock(EmailService::class);
@@ -123,8 +123,8 @@ class RegistrationServiceTest extends TestCase
$service = new RegistrationService(
$emailService,
new SchoolIdService,
new RegistrationFormatterService(new PhoneFormatterService),
new SchoolIdService(),
new RegistrationFormatterService(new PhoneFormatterService()),
$captchaService
);