Skip to content

Instantly share code, notes, and snippets.

/0 run script Secret

Created Nov 9, 2012
Embed
What would you like to do?
#!/bin/sh
set -e
cd
cd test-phpbb
rsync --delete --exclude .git -av ~/phpbb/phpBB/ /var/www/qi/boards/functional/
PHPBB_TEST_DBNAME=phpbbtest \
PHPBB_TEST_DBHOST=localhost \
PHPBB_TEST_DBUSER=phpbbtest \
PHPBB_TEST_DBMS=postgres \
PHPBB_NO_COMPOSER_AUTOLOAD=1 \
PHPBB_AUTOLOAD=~/shared/phpbb_autoload.php \
PHPBB_FUNCTIONAL_URL=http://localqi/boards/functional/ \
php -d include_path=.:/home/pie/apps/git-phpunit-bundle:/home/pie/apps/git-phpbb3-dependencies \
~pie/apps/git-phpunit-bundle/phpunit.php -c phpunit.xml.functional "$@"
PHPUnit @package_version@ by Sebastian Bergmann.
Configuration read from /home/phpdev/test-phpbb/phpunit.xml.functional
ESEEEEEEE
Time: 5 seconds, Memory: 10.00Mb
There were 8 errors:
1) phpbb_functional_auth_test::test_login
Argument 2 passed to Goutte\Client::__construct() must be of the type array, null given, called in /home/phpdev/test-phpbb/tests/test_framework/phpbb_functional_test_case.php on line 51 and defined
/home/pie/apps/git-phpbb3-dependencies/Goutte/Client.php:2
/home/phpdev/test-phpbb/tests/test_framework/phpbb_functional_test_case.php:51
/home/pie/apps/git-phpunit-bundle/phpunit.php:44
2) phpbb_functional_browse_test::test_index
Argument 2 passed to Goutte\Client::__construct() must be of the type array, null given, called in /home/phpdev/test-phpbb/tests/test_framework/phpbb_functional_test_case.php on line 51 and defined
/home/pie/apps/git-phpbb3-dependencies/Goutte/Client.php:2
/home/phpdev/test-phpbb/tests/test_framework/phpbb_functional_test_case.php:51
/home/pie/apps/git-phpunit-bundle/phpunit.php:44
3) phpbb_functional_browse_test::test_viewforum
Argument 2 passed to Goutte\Client::__construct() must be of the type array, null given, called in /home/phpdev/test-phpbb/tests/test_framework/phpbb_functional_test_case.php on line 51 and defined
/home/pie/apps/git-phpbb3-dependencies/Goutte/Client.php:2
/home/phpdev/test-phpbb/tests/test_framework/phpbb_functional_test_case.php:51
/home/pie/apps/git-phpunit-bundle/phpunit.php:44
4) phpbb_functional_browse_test::test_viewtopic
Argument 2 passed to Goutte\Client::__construct() must be of the type array, null given, called in /home/phpdev/test-phpbb/tests/test_framework/phpbb_functional_test_case.php on line 51 and defined
/home/pie/apps/git-phpbb3-dependencies/Goutte/Client.php:2
/home/phpdev/test-phpbb/tests/test_framework/phpbb_functional_test_case.php:51
/home/pie/apps/git-phpunit-bundle/phpunit.php:44
5) phpbb_functional_lang_test::test_lang
Argument 2 passed to Goutte\Client::__construct() must be of the type array, null given, called in /home/phpdev/test-phpbb/tests/test_framework/phpbb_functional_test_case.php on line 51 and defined
/home/pie/apps/git-phpbb3-dependencies/Goutte/Client.php:2
/home/phpdev/test-phpbb/tests/test_framework/phpbb_functional_test_case.php:51
/home/pie/apps/git-phpunit-bundle/phpunit.php:44
6) phpbb_functional_lang_test::test_lang_missing
Argument 2 passed to Goutte\Client::__construct() must be of the type array, null given, called in /home/phpdev/test-phpbb/tests/test_framework/phpbb_functional_test_case.php on line 51 and defined
/home/pie/apps/git-phpbb3-dependencies/Goutte/Client.php:2
/home/phpdev/test-phpbb/tests/test_framework/phpbb_functional_test_case.php:51
/home/pie/apps/git-phpunit-bundle/phpunit.php:44
7) phpbb_functional_lang_test::test_add_lang
Argument 2 passed to Goutte\Client::__construct() must be of the type array, null given, called in /home/phpdev/test-phpbb/tests/test_framework/phpbb_functional_test_case.php on line 51 and defined
/home/pie/apps/git-phpbb3-dependencies/Goutte/Client.php:2
/home/phpdev/test-phpbb/tests/test_framework/phpbb_functional_test_case.php:51
/home/pie/apps/git-phpunit-bundle/phpunit.php:44
8) phpbb_functional_lang_test::test_add_langs
Argument 2 passed to Goutte\Client::__construct() must be of the type array, null given, called in /home/phpdev/test-phpbb/tests/test_framework/phpbb_functional_test_case.php on line 51 and defined
/home/pie/apps/git-phpbb3-dependencies/Goutte/Client.php:2
/home/phpdev/test-phpbb/tests/test_framework/phpbb_functional_test_case.php:51
/home/pie/apps/git-phpunit-bundle/phpunit.php:44
FAILURES!
Tests: 8, Assertions: 1, Errors: 8, Skipped: 1.
reactor% php ../composer.phar install
PHP Warning: Xdebug MUST be loaded as a Zend extension in Unknown on line 0
This dev build of composer is outdated, please run "../composer.phar self-update" to get the latest version.
Installing dependencies from lock file
Your lock file is out of sync with your composer.json, run "composer.phar update" to update dependencies
Nothing to install or update
Generating autoload files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment