Skip to content

Commit 68723dd

Browse files
committed
Fix tests for verify_phpunit_xml after MDL-83424
Signed-off-by: Daniel Ziegenberg <[email protected]>
1 parent c1677c0 commit 68723dd

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

tests/verify_phpunit_xml.bats

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ teardown () {
3030
ci_run verify_phpunit_xml/verify_phpunit_xml.sh
3131

3232
assert_success
33-
assert_output --partial "OK: competency/tests will be executed"
34-
assert_output --partial "INFO: backup/util/ui/tests will be executed because the backup/util definition"
35-
assert_output --partial "INFO: Ignoring theme/boost/scss/bootstrap/tests, it does not contain any test unit file."
33+
assert_output --partial "OK: public/competency/tests will be executed"
34+
assert_output --partial "INFO: public/backup/util/ui/tests will be executed because the public/backup/util definition"
35+
assert_output --partial "INFO: Ignoring public/theme/boost/scss/bootstrap/tests, it does not contain any test unit file."
3636
refute_output --partial "WARNING"
3737
refute_output --partial "ERROR"
3838
}
@@ -43,8 +43,8 @@ teardown () {
4343
ci_run verify_phpunit_xml/verify_phpunit_xml.sh
4444

4545
assert_failure
46-
assert_output --partial "OK: competency/tests will be executed"
47-
assert_output --partial "INFO: backup/util/ui/tests will be executed because the backup/util definition"
46+
assert_output --partial "OK: public/competency/tests will be executed"
47+
assert_output --partial "INFO: public/backup/util/ui/tests will be executed because the backup/util definition"
4848
assert_output --partial "ERROR: admin/tests is not matched/covered by any definition in phpunit.xml !"
4949
refute_output --partial "WARNING"
5050
assert_output --partial "ERROR"
@@ -56,8 +56,8 @@ teardown () {
5656
ci_run verify_phpunit_xml/verify_phpunit_xml.sh
5757

5858
assert_success
59-
assert_output --partial "OK: competency/tests will be executed"
60-
assert_output --partial "INFO: backup/util/ui/tests will be executed because the backup/util definition"
59+
assert_output --partial "OK: public/competency/tests will be executed"
60+
assert_output --partial "INFO: public/backup/util/ui/tests will be executed because the backup/util definition"
6161
assert_output --partial "INFO: Ignoring admin/tests, it does not contain any test unit file."
6262
assert_output --partial "WARNING: mod/glossary/tests/lib_test.php has incorrect (2) number of unit test classes."
6363
refute_output --partial "ERROR"
@@ -71,8 +71,8 @@ teardown () {
7171
ci_run verify_phpunit_xml/verify_phpunit_xml.sh
7272

7373
assert_failure
74-
assert_output --partial "OK: competency/tests will be executed"
75-
assert_output --partial "INFO: backup/util/ui/tests will be executed because the backup/util definition"
74+
assert_output --partial "OK: public/competency/tests will be executed"
75+
assert_output --partial "INFO: public/backup/util/ui/tests will be executed because the backup/util definition"
7676
assert_output --partial "INFO: Ignoring admin/tests, it does not contain any test unit file."
7777
assert_output --partial "ERROR: mod/glossary/tests/lib_test.php has incorrect (2) number of unit test classes."
7878
assert_output --partial "ERROR"

0 commit comments

Comments
 (0)