wiki.techinc.nl/tests/phpunit/includes/jobqueue
Timo Tijhof 4938038175 tests: Remove use of wfRandomString() for test fixtures
This reduces confidence in the test. There is no guruantee that
it won't return the same value twice during the duration of a full
PHPUnit run of all test suites, whether twice in a row or 20 minutes
apart.

For a test that needs a string of any kind, use an explicit, consinstent
and cheap literal value.

For a test that specifically needs some kind of uniqueness compared to
something else within the same test case, do so explicitly.

Tests that require something globally unique (for some undefined/vague
definition of "global") were not found, and should not exist anyway.

Also, in libs/objectcache tests, fix order of parameters in some
assertions (expected first, then actual), and use assertFalse/assertSame
instead of assertEqual for cases where false is expected to remove
tolerance of other loosely equal values.

Change-Id: Ifc60e88178da471330b94bfbf12e2731d2efc77d
2019-05-06 17:22:03 +00:00
..
jobs jobqueue: add GenericParameterJob and RunnableJob interface 2019-04-08 11:05:23 -07:00
JobQueueMemoryTest.php Make WikiMap::isCurrentWikiDbDomain() more rigorous 2019-03-29 19:03:28 +00:00
JobQueueTest.php tests: Remove use of wfRandomString() for test fixtures 2019-05-06 17:22:03 +00:00
JobTest.php jobqueue: Follow-up for fc5d51f129 (added GenericParameterJob) 2019-04-25 15:44:11 +00:00
RefreshLinksPartitionTest.php Add @covers tags to jobqueue tests 2017-12-27 17:47:30 +00:00