fix gitlab tests

This commit is contained in:
root
2026-06-09 02:32:58 -04:00
parent 20a0b6c4e5
commit 6def9993da
1489 changed files with 10449 additions and 11356 deletions
@@ -13,13 +13,13 @@ class CleanupSchedulerServiceTest extends TestCase
{
Cache::forget('last_cleanup_run');
$service = new CleanupSchedulerService;
$service = new CleanupSchedulerService();
$this->assertTrue($service->shouldRun('last_cleanup_run', 2));
}
public function test_mark_run_sets_cache(): void
{
$service = new CleanupSchedulerService;
$service = new CleanupSchedulerService();
$service->markRun('last_cleanup_run');
$this->assertNotNull(Cache::get('last_cleanup_run'));
@@ -29,7 +29,7 @@ class CleanupSchedulerServiceTest extends TestCase
{
Artisan::shouldReceive('call')->once()->with('users:delete-unverified');
$service = new CleanupSchedulerService;
$service = new CleanupSchedulerService();
$service->runUnverifiedCleanup();
}
}