CSP: In tests, use setMwGlobals() instead of manual set+undo
authorTimo Tijhof <krinklemail@gmail.com>
Sun, 19 Aug 2018 00:42:58 +0000 (01:42 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Sun, 19 Aug 2018 00:43:52 +0000 (01:43 +0100)
commitc83e2445b86744bebd9304e9ba8e67a455d230a5
tree27100b8a3238b1c0cc0617aaee297ee7e5a50f4d
parent0087dcf2ac0ebefae98128b2259a732d92d253a8
CSP: In tests, use setMwGlobals() instead of manual set+undo

This is the idiom as used in other PHPUnit tests for MediaWiki.

Change-Id: I285e5abe57bad8b9a8a3b35d81bb3a9f5f3dbe85
tests/phpunit/includes/ContentSecurityPolicyTest.php