WordPress.org

Make WordPress Core

Changeset 517 in tests


Ignore:
Timestamp:
02/07/2012 12:19:44 AM (6 years ago)
Author:
kurtpayne
Message:

Changing "delete" to "dim" (copy/paste)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-testcase/test-ajax-actions/test_admin_ajax_dim_comments.php

    r516 r517  
    5555    /***********************************************************/
    5656    /** Test prototype
    57     /***********************************************************/
     57    /***********************************************************/
    5858
    5959    /**
     
    183183        // Set up the $_POST request
    184184        $_POST['id']          = 12346789;
    185         $_POST['_ajax_nonce'] = wp_create_nonce( 'delete-comment_12346789' );
     185        $_POST['_ajax_nonce'] = wp_create_nonce( 'dim-comment_12346789' );
    186186        $_POST['_total']      = count( $this->_comments );
    187187        $_POST['_per_page']   = 100;
     
    195195
    196196    /**
    197      * Delete a comment as an administrator (expects success)
     197     * Dim a comment as an administrator (expects success)
    198198     * @return void
    199199     */
     
    205205
    206206    /**
    207      * Delete a comment as a subscriber (expects permission denied)
     207     * Dim a comment as a subscriber (expects permission denied)
    208208     * @return void
    209209     */
Note: See TracChangeset for help on using the changeset viewer.