Files
kreios/backoffice/tests/Feature/ExampleTest.php
T

21 lines
521 B
PHP

<?php
namespace Tests\Feature;
// use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;
class ExampleTest extends TestCase
{
public function test_la_home_reindirizza_al_configuratore(): void
{
$this->get('/')->assertRedirect('/configuratore/');
}
public function test_la_home_conserva_i_parametri_del_configuratore(): void
{
$this->get('/?sistema=pvc&type=finestra_2_ante')
->assertRedirect('/configuratore/?sistema=pvc&type=finestra_2_ante');
}
}