fix test issues
API CI/CD / Validate (composer + pint) (push) Successful in 3m5s
API CI/CD / Test (PHPUnit) (push) Failing after 7m12s
API CI/CD / Build frontend assets (push) Successful in 1m2s
API CI/CD / Security audit (push) Failing after 49s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
API CI/CD / Validate (composer + pint) (push) Successful in 3m5s
API CI/CD / Test (PHPUnit) (push) Failing after 7m12s
API CI/CD / Build frontend assets (push) Successful in 1m2s
API CI/CD / Security audit (push) Failing after 49s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
This commit is contained in:
@@ -19,7 +19,7 @@ class TeacherSubmissionNotificationServiceTest extends TestCase
|
||||
$shared = Mockery::mock(AdministratorSharedService::class);
|
||||
$support = Mockery::mock(TeacherSubmissionSupportService::class);
|
||||
|
||||
$service = new TeacherSubmissionNotificationService($shared, $support);
|
||||
$service = new TeacherSubmissionNotificationService($shared, $support, app(\App\Services\ApplicationUrlService::class));
|
||||
$request = Request::create('/notify', 'POST', []);
|
||||
|
||||
$result = $service->send($request, 1);
|
||||
|
||||
Reference in New Issue
Block a user