mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Thanks
synced 2024-11-15 02:54:23 +00:00
5f9f913fb6
Every time the setup function runs, it chooses a random page name with random content. If it chooses a page name + content combination that was used to set up a different test in the same run, the edit it makes will be a null edit, the revid will be null, and the test will crash. There are 100 possible page names and 100 possible page texts, so 10k possibilities total, and the setup function appears to be called 10 times, so the probability of a collision would have been (10 choose 2)/10000 = 0.0045 = 0.45%, or one in every 222 times. Bug: T151878 Change-Id: I800ee8512c2ad171ba793bea343f456653f9a16d |
||
---|---|---|
.. | ||
ApiCoreThankIntegrationTest.php | ||
ApiCoreThankUnitTest.php | ||
ApiFlowThankIntegrationTest.php |