Files
SkinbaseNova/tests/Feature/AvatarUploadTest.php
2026-02-14 15:14:12 +01:00

16 lines
318 B
PHP

<?php
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;
class AvatarUploadTest extends TestCase
{
use RefreshDatabase;
public function test_upload_requires_authentication()
{
$response = $this->postJson(route('avatar.upload'));
$response->assertStatus(401);
}
}