You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have similar issue with #29862, instead the error is
[sftp://vagrant@yogapay.test:22]:/usr/bin/php /home/vagrant/code/yoga-pay/vendor/phpunit/phpunit/phpunit --configuration /home/vagrant/code/yoga-pay/phpunit.xml --filter "/(::test_teacher_cannot_create_yoga_class)( .*)?$/" Tests\\Feature\\Api\\YogaClassTest /home/vagrant/code/yoga-pay/tests/Feature/Api/YogaClassTest.php --teamcity
PHP Fatal error: Uncaught PHPUnit\Runner\Exception: Class 'Tests\\Feature\\Api\\YogaClassTest' could not be found in'/home/vagrant/code/yoga-pay/tests/Feature/Api/YogaClassTest.php'. in /home/vagrant/code/yoga-pay/vendor/phpunit/phpunit/src/Runner/StandardTestSuiteLoader.php:65
Stack trace:
#0 /home/vagrant/code/yoga-pay/vendor/phpunit/phpunit/src/Runner/BaseTestRunner.php(141): PHPUnit\Runner\StandardTestSuiteLoader->load('Tests\\\\Feature\\...', '/home/vagrant/c...')
Fatal error: Uncaught PHPUnit\Runner\Exception: Class 'Tests\\Feature\\Api\\YogaClassTest' could not be found in'/home/vagrant/code/yoga-pay/tests/Feature/Api/YogaClassTest.php'. in /home/vagrant/code/yoga-pay/vendor/phpunit/phpunit/src/Runner/StandardTestSuiteLoader.php:65
#1 /home/vagrant/code/yoga-pay/vendor/phpunit/phpunit/src/Runner/BaseTestRunner.php(101): PHPUnit\Runner\BaseTestRunner->loadSuiteClass('Tests\\\\Feature\\...', '/home/vagrant/c...')
Stack trace:
#2 /home/vagrant/code/yoga-pay/vendor/phpunit/phpunit/src/TextUI/Command.php(177): PHPUnit\Runner\BaseTestRunner->getTest('Tests\\\\Feature\\...', '/home/vagrant/c...', Array)#0 /home/vagrant/code/yoga-pay/vendor/phpunit/phpunit/src/Runner/BaseTestRunner.php(141): PHPUnit\Runner\StandardTestSuiteLoader->load('Tests\\\\Feature\\...', '/home/vagrant/c...')#3 /home/vagrant/code/yoga-pay/vendor/phpunit/phpunit/src/TextUI/Command.php(159): PHPUnit\TextUI\Command->run(Array, true)#1 /home/vagrant/code/yoga-pay/vendor/phpunit/phpunit/src/Runner/BaseTestRunner.php(101): PHPUnit\Runner\BaseTestRunner->loadSuiteClass('Tests\\\\Feature\\...', '/home/vagrant/c...')#4 /home/vagrant/code/yoga-pay/vendor/phpunit/phpunit/phpunit(61): PHPUnit\TextUI\C in /home/vagrant/code/yoga-pay/vendor/phpunit/phpunit/src/Runner/StandardTestSuiteLoader.php on line 65#2 /home/vagrant/code/yoga-pay/vendor/phpunit/phpunit/src/TextUI/Command.php(177): PHPUnit\Runner\BaseTestRunner->getTest('Tests\\\\Feature\\...', '/home/vagrant/c...', Array)#3 /home/vagrant/code/yoga-pay/vendor/phpunit/phpunit/src/TextUI/Command.php(159): PHPUnit\TextUI\Command->run(Array, true)#4 /home/vagrant/code/yoga-pay/vendor/phpunit/phpunit/phpunit(61): PHPUnit\TextUI\C in /home/vagrant/code/yoga-pay/vendor/phpunit/phpunit/src/Runner/StandardTestSuiteLoader.php on line 65
Process finished with exit code 255
The terminal command is working fine phpunit --filter test_authenticated_users_can_fetch_teachers
The bootstrapping has been removed in the meantime so I doubt that this is broken atm: laravel/laravel#5107
Can you first please try one of the support channels below? If you can actually identify this as a bug, feel free to report back and I'll gladly help you out and re-open this issue.
for someone comes here with same issue, this is actually phpunit's issue sebastianbergmann/phpunit#3904
After I downgrade to phpunit 8.3.5 it works like a charm
Description:
I have similar issue with #29862, instead the error is
The terminal command is working fine
phpunit --filter test_authenticated_users_can_fetch_teachers
Steps To Reproduce:
Same with #29862
The text was updated successfully, but these errors were encountered: