Cache tests for get_terms().


git-svn-id: https://unit-test.svn.wordpress.org/trunk@1196 4a5a2adb-35eb-4268-9a1b-fe04a4134342
Add ticket ref.


git-svn-id: https://unit-test.svn.wordpress.org/trunk@1197 4a5a2adb-35eb-4268-9a1b-fe04a4134342
Use `__CLASS__` instead of `self`

Before it worked, because `WP_DEBUG` was off and the test magically
passed.

Props scribu, see #UT101.


git-svn-id: https://unit-test.svn.wordpress.org/trunk@1198 4a5a2adb-35eb-4268-9a1b-fe04a4134342
Rename generators to formatters


git-svn-id: https://unit-test.svn.wordpress.org/trunk@1199 4a5a2adb-35eb-4268-9a1b-fe04a4134342
Clean up cropped images in wp_crop_image() tests. see [1126/tests].

git-svn-id: https://unit-test.svn.wordpress.org/trunk@1200 4a5a2adb-35eb-4268-9a1b-fe04a4134342
wp_crop_image() test for error on saving. see #23325.

git-svn-id: https://unit-test.svn.wordpress.org/trunk@1201 4a5a2adb-35eb-4268-9a1b-fe04a4134342
Basic test that Services_JSON isn't broken. see #21568.



git-svn-id: https://unit-test.svn.wordpress.org/trunk@1202 4a5a2adb-35eb-4268-9a1b-fe04a4134342
Correct expected results in get_plugin_data() and WP_Theme tests. see [23394]. see #20839.

git-svn-id: https://unit-test.svn.wordpress.org/trunk@1203 4a5a2adb-35eb-4268-9a1b-fe04a4134342
WP_HTTP Api tests: Ensure that fsockopen isn't disabled via the 'disable_fsockopen' option, can result in confusing test results


git-svn-id: https://unit-test.svn.wordpress.org/trunk@1204 4a5a2adb-35eb-4268-9a1b-fe04a4134342
WP_HTTP Api tests: Ensure that the result is not a WP_Error, skipping this test can cause an uncaught fatal. It looks like the other test cases all catch this.


git-svn-id: https://unit-test.svn.wordpress.org/trunk@1205 4a5a2adb-35eb-4268-9a1b-fe04a4134342
Update cache tests to reflect new last_changed value. See #WP23448


git-svn-id: https://unit-test.svn.wordpress.org/trunk@1206 4a5a2adb-35eb-4268-9a1b-fe04a4134342
Revert accidental slashing test updates

git-svn-id: https://unit-test.svn.wordpress.org/trunk@1207 4a5a2adb-35eb-4268-9a1b-fe04a4134342
Update cache tests for new last_changed value. See #WP23448


git-svn-id: https://unit-test.svn.wordpress.org/trunk@1208 4a5a2adb-35eb-4268-9a1b-fe04a4134342
Update cache tests to reflect new last_changed value. See #WP23448


git-svn-id: https://unit-test.svn.wordpress.org/trunk@1209 4a5a2adb-35eb-4268-9a1b-fe04a4134342
Revisions: Add a test case which checks the _edit_last postmeta value after a revision restore 

Also validates some of the things to be fixed for the off-by-one issues with authorship.
See: #20982, #16215
Props adamsilverstein for the original patch.


git-svn-id: https://unit-test.svn.wordpress.org/trunk@1210 4a5a2adb-35eb-4268-9a1b-fe04a4134342
Revisions: When we are trying to save a new revision we shouldn't save one if the previous version was the same.

See #7392 and #9843 props adamsilverstein  


git-svn-id: https://unit-test.svn.wordpress.org/trunk@1211 4a5a2adb-35eb-4268-9a1b-fe04a4134342
Revisions: Test the capability checks used in wp-admin/revision.php against how we expect them to behave both with a built-in and a custom post type

See #16847 - Trying to explore CPTs and Custom Capabilities with revisions edit/view/restore


git-svn-id: https://unit-test.svn.wordpress.org/trunk@1212 4a5a2adb-35eb-4268-9a1b-fe04a4134342
Add a revisions capability test for when the post cannot be edited once published because the edit_published_posts cap is denied. See [1212/tests]. See #16847. Trims westi's whitespace.



git-svn-id: https://unit-test.svn.wordpress.org/trunk@1213 4a5a2adb-35eb-4268-9a1b-fe04a4134342
Revisions: Add a new test for a force save filter in wp_save_post_revision

Also Update the tests to have correct ordering, be less complex and use things like assertCount.
See #7392 and #9843 


git-svn-id: https://unit-test.svn.wordpress.org/trunk@1214 4a5a2adb-35eb-4268-9a1b-fe04a4134342
Update for [WP23416]


git-svn-id: https://unit-test.svn.wordpress.org/trunk@1215 4a5a2adb-35eb-4268-9a1b-fe04a4134342