chore: commit current workspace changes

This commit is contained in:
2026-05-02 09:37:14 +02:00
parent 79235133f0
commit caf1464aa5
121 changed files with 485218 additions and 181663 deletions

View File

@@ -0,0 +1,20 @@
<?php
declare(strict_types=1);
use App\Services\LeaderboardService;
it('refreshes all leaderboards from the command entrypoint', function (): void {
$leaderboards = $this->mock(LeaderboardService::class);
$leaderboards->shouldReceive('refreshAll')
->once()
->andReturn([
'creator' => ['daily' => 3],
'artwork' => ['daily' => 5],
]);
$this->artisan('leaderboards:refresh')
->expectsOutput('Refreshing leaderboards …')
->expectsOutput('Done. Updated: 8 leaderboard row(s).')
->assertSuccessful();
});