++ test: numeri dei territori come stringhe nel test della priorita'
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -647,6 +647,7 @@ class GruppiServizioTest extends TestCase
|
||||
$altra = \App\Models\Zona::create(['nome' => 'Zisa', 'attivo' => true]);
|
||||
$t = [];
|
||||
foreach (['40' => 200, '41' => 50, '42' => 0, '43' => 0] as $numero => $giorni) {
|
||||
$numero = (string) $numero; // le chiavi numeriche diventano interi
|
||||
$t[$numero] = $this->territorio($numero);
|
||||
$t[$numero]->forceFill([
|
||||
'created_at' => now()->subDays($giorni),
|
||||
|
||||
Reference in New Issue
Block a user