89877c5941
* Use `wp_update_network_counts()` to update the database with the most current data before testing. * Use `wp_update_network_counts()` to update the database with the most current data after deleting the sites created during the test. * Create only 1 extra site in each test rather than 4. This shaves several seconds off the test time. * Stop testing for an extra count now that we update the network counts properly. Previously we looked at `$site_count_start + 9` rather than 8. Now this is `+ 1`, which aligns with the actual number of sites created. * Test 3 explicit conditions - default, filter applied as `true`, and filter applied as `false`. * Reset data before testing assertion to avoid a suspended state. See #36566. git-svn-id: https://develop.svn.wordpress.org/trunk@37233 602fd350-edb4-49c9-b593-d223f7449a82 |
||
---|---|---|
.. | ||
phpunit | ||
qunit |