++ test: il pulsante Rientro ha l'indirizzo relativo

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Francesco Picone
2026-10-20 15:34:24 +02:00
parent cd3569a327
commit ab7d26ae41

View File

@@ -268,6 +268,7 @@ class InvioLinkTest extends TestCase
Livewire::withoutLazyLoading()->actingAs($this->admin)->test(ElencoAssegnati::class)
->assertSee('Rientro')
->assertSee(route('assegnazioni.rientra', $a), false);
// Relativo: l'elenco ha un peso massimo per riga (AssegnaPrestazioniTest).
->assertSee('href="' . route('assegnazioni.rientra', $a, false) . '"', false);
}
}