More complete, more straightforward JobQueueMemoryTest
commit793dbbb870657541c1d9b7c2ccd7628214d4a3fb
authorThiemo Mättig <thiemo.maettig@wikimedia.de>
Fri, 15 Jan 2016 09:28:30 +0000 (15 10:28 +0100)
committerThiemo Mättig <thiemo.maettig@wikimedia.de>
Fri, 15 Jan 2016 09:28:30 +0000 (15 10:28 +0100)
treeb8c66db61e8f355f93090e00ccf9593531929a35
parente48030a7aebb47eeb702d351716ba8304308b02f
More complete, more straightforward JobQueueMemoryTest

I created a basic test yesterday to cover two bugs. Now the test covers
all public methods. I was also able to get rid of the test double.

Change-Id: I53110280e3ef7b7a72d175b11b7fc4ccf1d648b3
includes/jobqueue/JobQueueMemory.php
tests/phpunit/includes/jobqueue/JobQueueMemoryTest.php