Open benlk opened 6 years ago
https://travis-ci.org/npr/pmp-wordpress-plugin/jobs/354057182#L513
PHP Fatal error: Class 'PHPUnit_Framework_TestCase' not found in /tmp/wordpress/tests/phpunit/includes/testcase.php on line 15 PHP Stack trace: PHP 1. {main}() /home/travis/.phpenv/versions/7.1.11/bin/phpunit:0 PHP 2. PHPUnit\TextUI\Command::main() /home/travis/.phpenv/versions/7.1.11/bin/phpunit:563 PHP 3. PHPUnit\TextUI\Command->run() phar:///home/travis/.phpenv/versions/7.1.11/bin/phpunit/phpunit/TextUI/Command.php:148 PHP 4. PHPUnit\TextUI\Command->handleArguments() phar:///home/travis/.phpenv/versions/7.1.11/bin/phpunit/phpunit/TextUI/Command.php:159 PHP 5. PHPUnit\TextUI\Command->handleBootstrap() phar:///home/travis/.phpenv/versions/7.1.11/bin/phpunit/phpunit/TextUI/Command.php:722 PHP 6. PHPUnit\Util\Fileloader::checkAndLoad() phar:///home/travis/.phpenv/versions/7.1.11/bin/phpunit/phpunit/TextUI/Command.php:925 PHP 7. PHPUnit\Util\Fileloader::load() phar:///home/travis/.phpenv/versions/7.1.11/bin/phpunit/phpunit/Util/Fileloader.php:48 PHP 8. include_once() phar:///home/travis/.phpenv/versions/7.1.11/bin/phpunit/phpunit/Util/Fileloader.php:64 PHP 9. require() /tmp/wordpress/src/wp-content/plugins/pmp-wordpress-plugin/tests/bootstrap.php:27 PHP 10. require() /tmp/wordpress/tests/phpunit/includes/bootstrap.php:96 Fatal error: Class 'PHPUnit_Framework_TestCase' not found in /tmp/wordpress/tests/phpunit/includes/testcase.php on line 15
As documented in https://github.com/npr/pmp-php-sdk/issues/36, this is an error in the PMP PHP SDK's tests, and not something in the PMP plugin. So, probably beyond scope. Bug is filed.
https://travis-ci.org/npr/pmp-wordpress-plugin/jobs/354057182#L513
PHP Fatal error: Class 'PHPUnit_Framework_TestCase' not found in /tmp/wordpress/tests/phpunit/includes/testcase.php on line 15 PHP Stack trace: PHP 1. {main}() /home/travis/.phpenv/versions/7.1.11/bin/phpunit:0 PHP 2. PHPUnit\TextUI\Command::main() /home/travis/.phpenv/versions/7.1.11/bin/phpunit:563 PHP 3. PHPUnit\TextUI\Command->run() phar:///home/travis/.phpenv/versions/7.1.11/bin/phpunit/phpunit/TextUI/Command.php:148 PHP 4. PHPUnit\TextUI\Command->handleArguments() phar:///home/travis/.phpenv/versions/7.1.11/bin/phpunit/phpunit/TextUI/Command.php:159 PHP 5. PHPUnit\TextUI\Command->handleBootstrap() phar:///home/travis/.phpenv/versions/7.1.11/bin/phpunit/phpunit/TextUI/Command.php:722 PHP 6. PHPUnit\Util\Fileloader::checkAndLoad() phar:///home/travis/.phpenv/versions/7.1.11/bin/phpunit/phpunit/TextUI/Command.php:925 PHP 7. PHPUnit\Util\Fileloader::load() phar:///home/travis/.phpenv/versions/7.1.11/bin/phpunit/phpunit/Util/Fileloader.php:48 PHP 8. include_once() phar:///home/travis/.phpenv/versions/7.1.11/bin/phpunit/phpunit/Util/Fileloader.php:64 PHP 9. require() /tmp/wordpress/src/wp-content/plugins/pmp-wordpress-plugin/tests/bootstrap.php:27 PHP 10. require() /tmp/wordpress/tests/phpunit/includes/bootstrap.php:96 Fatal error: Class 'PHPUnit_Framework_TestCase' not found in /tmp/wordpress/tests/phpunit/includes/testcase.php on line 15