++ elenco dei territori assegnati: pulsante Rientro su ogni riga
Porta alla registrazione del rientro e torna all'elenco (data-ritorno); solo con il permesso territori.return. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -260,4 +260,14 @@ class InvioLinkTest extends TestCase
|
||||
->get(route('territori.index'))
|
||||
->assertSee(route('piantine.editor', ['nuovo' => 1]), false);
|
||||
}
|
||||
|
||||
public function test_dall_elenco_degli_assegnati_si_va_al_rientro(): void
|
||||
{
|
||||
$this->assegna($this->mario(), $this->territorioConPdf('7'));
|
||||
$a = Assegnazione::sole();
|
||||
|
||||
Livewire::withoutLazyLoading()->actingAs($this->admin)->test(ElencoAssegnati::class)
|
||||
->assertSee('Rientro')
|
||||
->assertSee(route('assegnazioni.rientra', $a), false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user