1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-24 22:40:55 +01:00

In Phabricator, disregard src/extensions for unit tests

Summary: See D9834. Phabricator flavor.

Test Plan: See D9834.

Reviewers: joshuaspence

Reviewed By: joshuaspence

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D9836
This commit is contained in:
epriestley 2014-07-06 06:22:27 -07:00
parent 0cc32a9b8f
commit 85db3311c7

View file

@ -31,7 +31,8 @@ final class PhabricatorInfrastructureTestCase extends PhabricatorTestCase {
->buildMap(); ->buildMap();
$bootloader = PhutilBootloader::getInstance(); $bootloader = PhutilBootloader::getInstance();
$old_library_map = $bootloader->getLibraryMap('phabricator'); $old_library_map = $bootloader->getLibraryMapWithoutExtensions(
'phabricator');
unset($old_library_map[PhutilLibraryMapBuilder::LIBRARY_MAP_VERSION_KEY]); unset($old_library_map[PhutilLibraryMapBuilder::LIBRARY_MAP_VERSION_KEY]);
$this->assertEqual( $this->assertEqual(