test: use route() helper for non-uuid loading test

This commit is contained in:
Paulo Castellano 2026-05-08 18:44:32 -03:00
parent ff1cc63d9b
commit a1d5589f2d

View file

@ -165,6 +165,6 @@
test('loading page rejects non-uuid creation ids', function () {
$this->actingAs($this->user)
->get('/posts/ai/not-a-uuid/loading')
->get(route('app.posts.ai.loading', 'not-a-uuid'))
->assertStatus(Response::HTTP_NOT_FOUND);
});