Changeset 43110 for branches/4.9/tests/phpunit/tests/comment.php
- Timestamp:
- 05/02/2018 03:43:37 AM (7 years ago)
- Location:
- branches/4.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
-
branches/4.9/tests/phpunit/tests/comment.php
r43093 r43110 766 766 $actual = wp_comments_personal_data_eraser( 'nocommentsfound@local.host' ); 767 767 $expected = array( 768 ' num_items_removed' => 0,769 ' num_items_retained' => 0,770 'messages' 771 'done' 768 'items_removed' => false, 769 'items_retained' => false, 770 'messages' => array(), 771 'done' => true, 772 772 ); 773 773 … … 797 797 $actual = wp_comments_personal_data_eraser( $args['comment_author_email'] ); 798 798 $expected = array( 799 ' num_items_removed' => 1,800 ' num_items_retained' => 0,801 'messages' 802 'done' 799 'items_removed' => true, 800 'items_retained' => false, 801 'messages' => array(), 802 'done' => true, 803 803 ); 804 804 … … 828 828 $actual = wp_comments_personal_data_eraser( $args['comment_author_email'], 2 ); 829 829 $expected = array( 830 ' num_items_removed' => 0,831 ' num_items_retained' => 0,832 'messages' 833 'done' 830 'items_removed' => false, 831 'items_retained' => false, 832 'messages' => array(), 833 'done' => true, 834 834 ); 835 835 … … 864 864 865 865 $expected = array( 866 ' num_items_removed' => 0,867 ' num_items_retained' => 1,868 'messages' 869 'done' 866 'items_removed' => false, 867 'items_retained' => true, 868 'messages' => array( $message ), 869 'done' => true, 870 870 ); 871 871 … … 900 900 901 901 $expected = array( 902 ' num_items_removed' => 0,903 ' num_items_retained' => 1,904 'messages' 905 'done' 902 'items_removed' => false, 903 'items_retained' => true, 904 'messages' => array( $message ), 905 'done' => true, 906 906 ); 907 907
Note: See TracChangeset
for help on using the changeset viewer.