<?php

use App\Enums\ApprovalStatus;
use App\Models\CooperationProposal;
use Illuminate\Foundation\Testing\RefreshDatabase;

uses(RefreshDatabase::class);

test('cooperation proposal can be created', function () {
    $proposal = CooperationProposal::factory()->create([
        'status' => ApprovalStatus::PENDING,
    ]);

    expect($proposal->status)->toBe(ApprovalStatus::PENDING);
});
