[wp-trac] [WordPress Trac] #16215: Post Revision history displays the incorrect author

WordPress Trac noreply at wordpress.org
Thu Mar 28 17:52:30 UTC 2013


#16215: Post Revision history displays the incorrect author
-------------------------------------+-----------------------
 Reporter:  mdawaffe                 |       Owner:  westi
     Type:  defect (bug)             |      Status:  reopened
 Priority:  normal                   |   Milestone:  3.6
Component:  Revisions                |     Version:  2.6
 Severity:  normal                   |  Resolution:
 Keywords:  needs-testing has-patch  |
-------------------------------------+-----------------------

Comment (by markjaquith):

 We have unit test failures surrounding revisions. Some of them are
 indubitably because we're storing an extra revision now, so the
 expectation of the unit test is no longer valid. But some of them seem
 wrong in the wrong direction.

 {{{
 There were 7 failures:

 1) Tests_Post_Revisions::test_revision_dont_save_revision_if_unchanged
 Failed asserting that actual size 1 matches expected size 2.

 /Users/mark/svn/wp-unit-tests/trunk/tests/post/revisions.php:67

 2)
 Tests_Post_Revisions::test_revision_force_save_revision_even_if_unchanged
 Failed asserting that actual size 1 matches expected size 2.

 /Users/mark/svn/wp-unit-tests/trunk/tests/post/revisions.php:96

 3) Tests_Post_Revisions::test_revision_diff_caps_post
 Failed asserting that actual size 1 matches expected size 2.

 /Users/mark/svn/wp-unit-tests/trunk/tests/post/revisions.php:175

 4) Tests_Post_Revisions::test_revision_restore_caps_before_publish
 Failed asserting that actual size 1 matches expected size 2.

 /Users/mark/svn/wp-unit-tests/trunk/tests/post/revisions.php:284

 5) Tests_Post_Revisions::test_revision_diff_caps_cpt
 Failed asserting that 2 matches expected 1.

 /Users/mark/svn/wp-unit-tests/trunk/tests/post/revisions.php:312

 6)
 Tests_XMLRPC_wp_getRevisions::test_revision_count_for_auto_draft_post_creation
 Failed asserting that actual size 1 matches expected size 0.

 /Users/mark/svn/wp-unit-tests/trunk/tests/xmlrpc/wp/getRevisions.php:60

 7) Tests_XMLRPC_wp_restoreRevision::test_revision_restored
 Failed asserting that two strings are equal.
 --- Expected
 +++ Actual
 @@ @@
 -'edit1'
 +'edit2'

 /Users/mark/svn/wp-unit-tests/trunk/tests/xmlrpc/wp/restoreRevision.php:47
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16215#comment:72>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list