1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-20 07:42:09 +02:00

[ticket/14992] Make unit tests run more verbose

PHPBB3-14992
This commit is contained in:
Marc Alexander 2017-05-21 16:14:11 +02:00
parent bcc85ab679
commit f3c782b358
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995
3 changed files with 3 additions and 3 deletions

View File

@ -49,6 +49,6 @@ script:
- travis/check-image-icc-profiles.sh $DB $TRAVIS_PHP_VERSION $NOTESTS
- travis/check-executable-files.sh $DB $TRAVIS_PHP_VERSION $NOTESTS ./
- sh -c "if [ '$SLOWTESTS' != '1' -a '$DB' = 'mysqli' ]; then phpBB/vendor/bin/phpunit tests/lint_test.php; fi"
- sh -c "if [ '$NOTESTS' != '1' -a '$SLOWTESTS' != '1' ]; then phpBB/vendor/bin/phpunit --configuration travis/phpunit-$DB-travis.xml; fi"
- sh -c "if [ '$NOTESTS' != '1' -a '$SLOWTESTS' != '1' ]; then phpBB/vendor/bin/phpunit --configuration travis/phpunit-$DB-travis.xml --verbose --stop-on-error; fi"
- sh -c "if [ '$SLOWTESTS' = '1' ]; then phpBB/vendor/bin/phpunit --configuration travis/phpunit-$DB-travis.xml --group slow; fi"
- sh -c "set -x;if [ '$NOTESTS' = '1' -a '$TRAVIS_PULL_REQUEST' != 'false' ]; then git-tools/commit-msg-hook-range.sh origin/$TRAVIS_BRANCH..FETCH_HEAD; fi"

View File

@ -27,7 +27,7 @@ class user_notifications_table_temp_index extends \phpbb\db\migration\migration
return array(
'add_index' => array(
$this->table_prefix . 'user_notifications' => array(
'itm_usr_mthd' => array('item_type', 'item_id', 'user_id', 'method'),
'itm_usr_mthd' => array('item_type', 'item_id', 'user_id'),
),
),
);

View File

@ -32,7 +32,7 @@ class user_notifications_table_unique_index extends \phpbb\db\migration\migratio
),
'add_unique_index' => array(
$this->table_prefix . 'user_notifications' => array(
'itm_usr_mthd' => array('item_type', 'item_id', 'user_id', 'method'),
'itm_usr_mthd' => array('item_type', 'item_id', 'user_id'),
),
),
);