test: use route() helper for non-uuid loading test
This commit is contained in:
parent
ff1cc63d9b
commit
a1d5589f2d
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue