resourceloader: Pass $context to getDependencies() in PHPUnit tests
authorAndrew Green <andrew.green.df@gmail.com>
Mon, 22 Jun 2015 17:31:01 +0000 (13:31 -0400)
committerKrinkle <krinklemail@gmail.com>
Wed, 24 Jun 2015 20:28:07 +0000 (20:28 +0000)
commit1dd6cfdf5061f93cabb8272b1029efbb128fd9b9
tree194c5f90b9ae174a20a22f9f47a0409da3a4fca0
parente8e8670e7ce6837e0331c8565cd390fca04152e5
resourceloader: Pass $context to getDependencies() in PHPUnit tests

Send the ResourceLoaderContext param in calls to getDependencies() in
PHPUnit tests for ResourceLoader. (This so an RL module in CentralNotice
can emit a warning when that parameter is not provided, and still pass
tests. Sending the parameter here will also be necessary when the parameter
is made non-optional in the future.)

Change-Id: I6033e03e2d8a46b4bd7f7a04ae13fd9f387ebd10
tests/phpunit/structure/ResourcesTest.php