powerball12 - 1 month ago

Hi, Everything is working fine. But when i want to make a UnitTest it gives me this error "PHP Fatal error: Class 'Tests\TestCase' not found". I used Laravel's way of making a UnitTest " // Create a test in the Unit directory... php artisan make:test UserTest --unit " I have been looking on GitHub and the Forum but i can't find any solution. I installed PHPUnit 7.1

fryiee - 1 month ago

@powerball12 Pyro's tests have a different namespace. They need to extend \TestCase . This is because we have root namespaced the Pyro tests so they more easily work with the addon pattern that Pyro uses.