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:
parent
bcc85ab679
commit
f3c782b358
@ -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"
|
||||
|
@ -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'),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
@ -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'),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user