resourceloader: Make tests less susceptible to timestamp races
authorTimo Tijhof <krinklemail@gmail.com>
Thu, 18 Jun 2015 18:57:16 +0000 (19:57 +0100)
committerKrinkle <krinklemail@gmail.com>
Fri, 10 Jul 2015 13:59:52 +0000 (13:59 +0000)
commit370a7d5f39c24ff09f9e22b07568447b8ecb0020
tree1e3c4a8f58f7c585880620d331f0c76a6c4e5271
parent6a779b59a26d60dadf0aa6517c9e861444bd49c5
resourceloader: Make tests less susceptible to timestamp races

getDefinitionSummary isn't the authoritive method to detect changes.
Using it as such may false cause something to appear detected or
undetected. Use getVersionHash() instead.

Thanks to Gilles for uncovering this bug.

Bug: T105476
Change-Id: Ibefc9fa8ffd9d45e29901d726801e8d4e008b66f
tests/phpunit/includes/resourceloader/ResourceLoaderModuleTest.php