WordPoints / wordpointsorg

[DEPRECATED] WordPoints module for installing modules from WordPoints.org
GNU General Public License v2.0
0 stars 0 forks source link

Fix update test #55

Closed JDGrimes closed 7 years ago

JDGrimes commented 8 years ago

Currently we are getting a fatal error, see https://travis-ci.org/WordPoints/wordpointsorg/jobs/152977150#L1149, https://github.com/WordPoints/dev-lib/issues/143, https://github.com/WordPoints/wordpoints/issues/430#issuecomment-235890236.

JDGrimes commented 7 years ago

The fatal error was:

PHP Fatal error:  Cannot redeclare class WordPointsOrg_Un_Installer in /home/travis/build/WordPoints/wordpointsorg/src/includes/class-un-installer.php on line 107

PHP Stack trace:
PHP   1. {main}() /home/travis/.phpenv/versions/5.3.29/bin/phpunit:0
PHP   2. PHPUnit_TextUI_Command::main() /home/travis/.phpenv/versions/5.3.29/bin/phpunit:722
PHP   3. PHPUnit_TextUI_Command->run() phar:///home/travis/.phpenv/versions/5.3.29/bin/phpunit/phpunit/TextUI/Command.php:104
PHP   4. PHPUnit_TextUI_TestRunner->doRun() phar:///home/travis/.phpenv/versions/5.3.29/bin/phpunit/phpunit/TextUI/Command.php:152
PHP   5. PHPUnit_Framework_TestSuite->run() phar:///home/travis/.phpenv/versions/5.3.29/bin/phpunit/phpunit/TextUI/TestRunner.php:39
PHP   6. PHPUnit_Framework_TestSuite->run() phar:///home/travis/.phpenv/versions/5.3.29/bin/phpunit/phpunit/Framework/TestSuite.php:716
PHP   7. PHPUnit_Framework_TestCase->run() phar:///home/travis/.phpenv/versions/5.3.29/bin/phpunit/phpunit/Framework/TestSuite.php:716
PHP   8. PHPUnit_Framework_TestResult->run() phar:///home/travis/.phpenv/versions/5.3.29/bin/phpunit/phpunit/Framework/TestCase.php:693
PHP   9. PHPUnit_Framework_TestCase->runBare() phar:///home/travis/.phpenv/versions/5.3.29/bin/phpunit/phpunit/Framework/TestResult.php:609
PHP  10. PHPUnit_Framework_TestCase->runTest() phar:///home/travis/.phpenv/versions/5.3.29/bin/phpunit/phpunit/Framework/TestCase.php:737
PHP  11. ReflectionMethod->invokeArgs() phar:///home/travis/.phpenv/versions/5.3.29/bin/phpunit/phpunit/Framework/TestCase.php:860
PHP  12. WordPointsOrg_Updates_1_1_3_Test->test_imports_options() phar:///home/travis/.phpenv/versions/5.3.29/bin/phpunit/phpunit/Framework/TestCase.php:860
PHP  13. WordPointsOrg_Updates_1_1_3_Test->update_module() /home/travis/build/WordPoints/wordpointsorg/tests/phpunit/tests/updates/1-1-3.php:47
PHP  14. WordPoints_Installables::maybe_do_updates() /home/travis/build/WordPoints/wordpointsorg/tests/phpunit/tests/updates/1-1-3.php:100
PHP  15. WordPoints_Installables::get_installer() /tmp/wordpoints/src/includes/class-installables.php:209