-
-
Save steerpike/989f04aa34be738a9600d3f830e75866 to your computer and use it in GitHub Desktop.
Error: Call to a member function connection() on null with PHPUnit in Laravel and Laragon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Make sure Tests created in Laravel are using: | |
use Tests\TestCase; | |
not: | |
use PHPUnit\Framework\TestCase; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment