Tests: Pad incrementors used in factories with leading zeros to make sure...
Tests: Pad incrementors used in factories with leading zeros to make sure MySQL sorting works as expected. Previously, tests could create sequential objects with names like `Term 99`, `Term 100`, which by default would be returned in reverse order when sorted by name alphabetically, causing seemingly random test failures that are extremely hard to debug. See #48145. Built from https://develop.svn.wordpress.org/trunk@46830 git-svn-id: https://core.svn.wordpress.org/trunk@46630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Loading
Please register or sign in to comment