<?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('Upload neuer Transaktionen')
        ->assertSee(route('upload'));
});
