1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 16:31:33 +02:00

Update script to cancel the loop if error is present

This commit is contained in:
Benjamin Beganović 2021-07-12 09:34:34 +02:00
parent 117930ad35
commit e6da498ab5

View File

@ -15,7 +15,7 @@ for TEST_CLASS in $GENERIC_TESTS; do
php artisan ninja:create-single-account &> /dev/null
echo "$ php artisan dusk $TEST_CLASS"
php artisan dusk --stop-on-failure $TEST_CLASS
php artisan dusk --stop-on-error --stop-on-failure $TEST_CLASS || exit 1
echo "=========================================="
done || exit 1
@ -32,7 +32,7 @@ for TEST_CLASS in $GATEWAY_TESTS; do
php artisan ninja:create-single-account &> /dev/null
echo "$ php artisan dusk $TEST_CLASS"
php artisan dusk --stop-on-failure $TEST_CLASS
php artisan dusk --stop-on-error --stop-on-failure $TEST_CLASS || exit 1
echo "=========================================="
done || exit 1