mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-07-25 16:24:35 +02:00
16 lines
263 B
PHP
16 lines
263 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Illuminate\Support\Str;
|
|
|
|
use function Pest\Laravel\get;
|
|
|
|
test('abort json', function (): void {
|
|
$response = get(route('api.anime.index').Str::random());
|
|
|
|
$response->assertJsonStructure([
|
|
'message',
|
|
]);
|
|
});
|