Added PHPUnit annotations

This commit is contained in:
Constantin Graf
2024-06-14 14:48:10 +02:00
committed by Gregor Vostrak
parent 42da2c3397
commit 7c26cee1ea
23 changed files with 74 additions and 0 deletions

View File

@@ -5,10 +5,15 @@ declare(strict_types=1);
namespace Tests\Unit\Endpoint\Web;
use App\Enums\Role;
use App\Http\Controllers\Web\DashboardController;
use App\Models\Organization;
use App\Models\User;
use Inertia\Testing\AssertableInertia as Assert;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\UsesClass;
#[CoversClass(DashboardController::class)]
#[UsesClass(DashboardController::class)]
class DashboardEndpointTest extends EndpointTestAbstract
{
public function test_showing_dashboard_succeeds_for_empty_user_with_no_data_entries(): void