Don't create Language objects during ResourceLoader tests
authorKunal Mehta <legoktm@gmail.com>
Fri, 19 Dec 2014 00:52:28 +0000 (16:52 -0800)
committerKunal Mehta <legoktm@gmail.com>
Fri, 19 Dec 2014 00:52:28 +0000 (16:52 -0800)
commit0e05ec5b31d444d52db5822313448885d5dd6268
tree41ffe345d45bc325f4f7585c12bdb9a0a3456f39
parent1961ac1cbfdfd7c8b05f6b4c9aa48da0b640241c
Don't create Language objects during ResourceLoader tests

Mock calls to ResourceLoaderContext::getDirection(), which creates
Language objects to get the directionality of a language.

Change-Id: Ibe6da3013e658aa7cf596c1da2f8ca1314b7cdd3
tests/phpunit/LessFileCompilationTest.php
tests/phpunit/ResourceLoaderTestCase.php
tests/phpunit/includes/resourceloader/ResourceLoaderFileModuleTest.php
tests/phpunit/includes/resourceloader/ResourceLoaderModuleTest.php
tests/phpunit/includes/resourceloader/ResourceLoaderStartupModuleTest.php
tests/phpunit/includes/resourceloader/ResourceLoaderTest.php