wfWarn() should cause phpunit tests to fail.
authordaniel <daniel.kinzler@wikimedia.de>
Mon, 27 Aug 2012 12:28:47 +0000 (14:28 +0200)
committerdaniel <daniel.kinzler@wikimedia.de>
Mon, 27 Aug 2012 12:28:47 +0000 (14:28 +0200)
commit4b291909e0e91ad4e8ed98030c1312a872ca3bd4
tree2fbf27e12a1eb5e30ff8589a12fe75fce304b82c
parent1c00630787b120102dd4e91507bfc91efa5f75f2
wfWarn() should cause phpunit tests to fail.

This forces $wgDevelopmentWarnings to true for phpunit tests.

Note that wfWarn uses the E_USER_NOTICE level per default, which may or may not
actually cause test cases to fail, depending on the phpunit configuration.

Change-Id: I36583fb063436cc8474873b468fc983d28377cbd
tests/phpunit/phpunit.php