2025-11-13 16:21:26 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
use App\Models\User;
|
|
|
|
|
|
|
|
|
|
it('displays upload link in navigation for authenticated users', function () {
|
|
|
|
|
$user = User::factory()->create();
|
|
|
|
|
|
|
|
|
|
$this->actingAs($user)
|
|
|
|
|
->get('/dashboard')
|
|
|
|
|
->assertSee('Datei-Upload')
|
|
|
|
|
->assertSee(route('upload'));
|
|
|
|
|
});
|