wordpress-develop/tests/phpunit/tests/menu
Sergey Biryukov ff56396bf3 Tests: Use the factory method instead of the property.
This replaces all references to the `WP_UnitTestCase_Base::$factory` property with static function calls to the `WP_UnitTestCase_Base::factory()` method.

This is a consistency improvement for the test suite.

Follow up to [35225], [35242], [49603], [54087], [54088].

Props jrf.
See #55652.

git-svn-id: https://develop.svn.wordpress.org/trunk@54090 602fd350-edb4-49c9-b593-d223f7449a82
2022-09-06 22:09:49 +00:00
..
nav-menu.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00
walker-nav-menu-edit.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
walker-nav-menu.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
wpAjaxMenuQuickSearch.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
wpExpandNavMenuPostData.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00