WordPress.org

Make WordPress Core

Changeset 702 in tests


Ignore:
Timestamp:
04/28/2012 09:21:09 PM (6 years ago)
Author:
nacin
Message:

Remove 'admin' post type fields removed in [WP20632].

File:
1 edited

Legend:

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

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