Tests: Move wp_insert_post() tests to their own file.

Now that there is a separate test class for `wp_insert_post()` tests, some of the pre-existing tests from the general `Tests_Post` class can be moved there.

Includes:
* Removal of unnecessarily setting the current user to Editor for all tests.
* Removal of unnecessarily setting the cron option to an empty array for all tests.

Follow-up to [496/tests], [36607], [53782], [53783].

See #55652.

git-svn-id: https://develop.svn.wordpress.org/trunk@53785 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2022-07-27 14:59:12 +00:00
parent 52f51f5cdf
commit 09808ef048
2 changed files with 1157 additions and 1148 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff