WordPress.org

Make WordPress Core

Changeset 967 in tests for trunk/tests/ajax/EditComment.php


Ignore:
Timestamp:
08/13/2012 09:07:27 PM (9 years ago)
Author:
ryan
Message:

Pinking shears

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/ajax/EditComment.php

    r924 r967  
    6767        $this->assertEquals( $comment->comment_ID, (string) $xml->response[0]->edit_comment['id'] );
    6868        $this->assertEquals( 'edit-comment_' . $comment->comment_ID, (string) $xml->response['action'] );
    69        
     69
    7070        // Check the payload
    7171        $this->assertNotEmpty( (string) $xml->response[0]->edit_comment[0]->response_data );
    72        
     72
    7373        // And supplemental is empty
    7474        $this->assertEmpty( (string) $xml->response[0]->edit_comment[0]->supplemental );
     
    116116        ) );
    117117        $comment = array_pop( $comments );
    118        
     118
    119119        // Set up a default request
    120120        $_POST['_ajax_nonce-replyto-comment'] = wp_create_nonce( uniqid() );
Note: See TracChangeset for help on using the changeset viewer.