In your UserTest.php file change the use statement from use PHPUnit\Framework\TestCase; to use Tests\TestCase; and try running your tests again.
Official documentation link Running Seeders
Solution on Laracasts faker-not-returning-formatter
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.