WordPress.org

Make WordPress Core

Changeset 709 in tests


Ignore:
Timestamp:
05/03/12 15:51:07 (3 years ago)
Author:
duck_
Message:

s/capabilities/cap/ in wp.getPostType $fields array, see [WP20696].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-testcase/test-xmlrpc-api/test_wp_getPostType.php

    r702 r709  
    4545 
    4646    function test_valid_type() { 
    47         $result = $this->myxmlrpcserver->wp_getPostType( array( 1, 'editor', 'editor', $this->cpt_name, array( 'labels', 'capabilities', 'menu', 'taxonomies' ) ) ); 
     47        $result = $this->myxmlrpcserver->wp_getPostType( array( 1, 'editor', 'editor', $this->cpt_name, array( 'labels', 'cap', 'menu', 'taxonomies' ) ) ); 
    4848        $this->assertNotInstanceOf( 'IXR_Error', $result ); 
    4949 
Note: See TracChangeset for help on using the changeset viewer.