Commit 41deebc
Use --group filter for MW master phpunit run
The previous -c extensions/Bootstrap/ flag made PHPUnit load Bootstrap's
phpunit.xml.dist, which has no bootstrap directive, so MediaWiki was
never initialised and $GLOBALS['wgResourceModules'] was undefined when
BootstrapManagerTest read it.
Drop -c so MW's generated phpunit.xml (which wires up
tests/phpunit/bootstrap.php) is used, and filter to Bootstrap tests via
their @group annotation. Mirrors the Chameleon CI pattern.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 36beb37 commit 41deebc
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
0 commit comments