20-02-2026

This commit is contained in:
Kevin Adametz 2026-02-20 17:57:50 +01:00
parent 854ce02bf6
commit 4d6b4930b2
128 changed files with 18247 additions and 2093 deletions

View file

@ -4,7 +4,9 @@ use App\Models\User;
use Livewire\Volt\Volt as LivewireVolt;
test('login screen can be rendered', function () {
$response = $this->get('/login');
$portalUrl = 'https://'.config('domains.domain_portal');
$response = $this->get($portalUrl.'/login');
$response->assertStatus(200);
});
@ -38,9 +40,11 @@ test('users can not authenticate with invalid password', function () {
});
test('users can logout', function () {
$portalUrl = 'https://'.config('domains.domain_portal');
$user = User::factory()->create();
$response = $this->actingAs($user)->post('/logout');
$response = $this->actingAs($user)->post($portalUrl.'/logout');
$response->assertRedirect('/');