From a1d5589f2d3668353b72e045311c86102e76bb01 Mon Sep 17 00:00:00 2001 From: Paulo Castellano Date: Fri, 8 May 2026 18:44:32 -0300 Subject: [PATCH] test: use route() helper for non-uuid loading test --- tests/Feature/Ai/PostAiCreateTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Feature/Ai/PostAiCreateTest.php b/tests/Feature/Ai/PostAiCreateTest.php index a5b61ecc..99003add 100644 --- a/tests/Feature/Ai/PostAiCreateTest.php +++ b/tests/Feature/Ai/PostAiCreateTest.php @@ -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); });