Summer Sale! All accounts are 50% off this week.

Ajvanho's avatar
Level 14

Symfony\Component\HttpKernel\Exception\NotFoundHttpException

I get this error for no reason when I want to check if the response is correct.

Has anyone had similar experiences?

$urls[1]->lazy()->each(function ($item, $key) {
            $this->withoutExceptionHandling();

            \Log::info('Testing url: ' . $item);

            $response = $this->get($item);

            $response->assertOk();
        });
0 likes
1 reply
Sinnbeck's avatar

It seems that you are passing a route that doesn't exist to $this->get()

1 like

Please or to participate in this conversation.