Out of the box: FAILURES! Tests: 1, Assertions: 1, Failures: 1.

Posted 2 months ago by behnampmdg3


Out of the box following Jeff's tutorial:

phpunit tests/Feature/ExampleTest.php 
PHPUnit 7.4.1 by Sebastian Bergmann and contributors.

F                                                                   1 / 1 (100%)

Time: 161 ms, Memory: 18.00MB

There was 1 failure:

1) Tests\Feature\ExampleTest::testBasicTest
Expected status code 200 but received 404.
Failed asserting that false is true.


Tests: 1, Assertions: 1, Failures: 1.

I changed APP_URL= but didnt fix it.

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up


Reply to

Use Markdown with GitHub-flavored code blocks.