Wordpress/tests/phpunit/includes/factory
Sergey Biryukov 102cb95559 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@46830 602fd350-edb4-49c9-b593-d223f7449a82
2019-12-09 10:39:39 +00:00
..
class-wp-unittest-factory-callback-after-create.php Build/Test Tools: Add missing access modifiers to factory classes in phpunit/includes/factory. 2019-03-15 12:15:08 +00:00
class-wp-unittest-factory-for-attachment.php Build/Test Tools: Add missing access modifiers to factory classes in phpunit/includes/factory. 2019-03-15 12:15:08 +00:00
class-wp-unittest-factory-for-blog.php Build/Test Tools: Add missing access modifiers to factory classes in phpunit/includes/factory. 2019-03-15 12:15:08 +00:00
class-wp-unittest-factory-for-bookmark.php Code is Poetry. 2017-11-30 23:09:33 +00:00
class-wp-unittest-factory-for-comment.php Build/Test Tools: Add missing access modifiers to factory classes in phpunit/includes/factory. 2019-03-15 12:15:08 +00:00
class-wp-unittest-factory-for-network.php Build/Test Tools: Add missing access modifiers to factory classes in phpunit/includes/factory. 2019-03-15 12:15:08 +00:00
class-wp-unittest-factory-for-post.php Build/Test Tools: Add missing access modifiers to factory classes in phpunit/includes/factory. 2019-03-15 12:15:08 +00:00
class-wp-unittest-factory-for-term.php Coding Standards: Fix WPCS issue in [46262]. 2019-09-23 19:28:43 +00:00
class-wp-unittest-factory-for-thing.php Tests: Pad incrementors used in factories with leading zeros to make sure MySQL sorting works as expected. 2019-12-09 10:39:39 +00:00
class-wp-unittest-factory-for-user.php Build/Test Tools: Add missing access modifiers to factory classes in phpunit/includes/factory. 2019-03-15 12:15:08 +00:00
class-wp-unittest-factory.php Build/Test Tools: Add missing access modifiers to factory classes in phpunit/includes/factory. 2019-03-15 12:15:08 +00:00
class-wp-unittest-generator-sequence.php Build/Test Tools: Add missing access modifiers to factory classes in phpunit/includes/factory. 2019-03-15 12:15:08 +00:00