File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ function test_phpcbf_is_working_in_parallel() {
20
20
21
21
function test_phpcbf_returns_error_on_issues() {
22
22
OUTPUT=" $( { bin/phpcbf --no-colors --no-cache --suffix=.fixed --standard=tests/EndToEnd/Fixtures/endtoend.xml.dist tests/EndToEnd/Fixtures/ClassWithStyleError.inc; } 2>&1 ) "
23
- assert_exit_code 1
23
+ assert_successful_code
24
24
25
25
assert_contains " F 1 / 1 (100%)" " $OUTPUT "
26
26
assert_contains " A TOTAL OF 1 ERROR WERE FIXED IN 1 FILE" " $OUTPUT "
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ function test_phpcs_is_working_in_parallel() {
10
10
11
11
function test_phpcs_returns_error_on_issues() {
12
12
OUTPUT=" $( { bin/phpcs --no-colors --no-cache --standard=tests/EndToEnd/Fixtures/endtoend.xml.dist tests/EndToEnd/Fixtures/ClassWithStyleError.inc; } 2>&1 ) "
13
- assert_exit_code 2
13
+ assert_exit_code 1
14
14
15
15
assert_contains " E 1 / 1 (100%)" " $OUTPUT "
16
16
assert_contains " FOUND 1 ERROR AFFECTING 1 LINE" " $OUTPUT "
You can’t perform that action at this time.
0 commit comments