Unit tests: Remove duplicated code in ExtensionRegistry
authorKosta Harlan <kharlan@wikimedia.org>
Mon, 19 Aug 2019 08:16:06 +0000 (10:16 +0200)
committerKosta Harlan <kharlan@wikimedia.org>
Mon, 19 Aug 2019 08:16:06 +0000 (10:16 +0200)
commitd66e16afb69fb1b8efa98bc38d05044aa8703d0b
treed32bee6d0260177425345c6c637a849a2a151851
parentf32c4526b367c12de3e15f6e168969e4f6ae66b5
Unit tests: Remove duplicated code in ExtensionRegistry

Also use wgExtensionDirectory and wgStyleDirectory in bootstrap.php, and add
clarifying comment about why ExtensionRegistry->readFromQueue is not used.

Follows-Up: I237a9f82e4d1b05cf2f08b3e4bb7ffcd8d47111c

Bug: T226911
Change-Id: I9c8e70006600c6eebbdc46dc7483a4481859ea16
includes/registration/ExtensionRegistry.php
tests/phpunit/bootstrap.php