Changeset 51331 for trunk/tests/phpunit/tests/xmlrpc/wp/getPostTypes.php
- Timestamp:
- 07/05/2021 05:21:53 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/xmlrpc/wp/getPostTypes.php
r48937 r51331 16 16 $result = $this->myxmlrpcserver->wp_getPostTypes( array( 1, 'subscriber', 'subscriber' ) ); 17 17 $this->assertNotIXRError( $result ); 18 $this->assertI nternalType( 'array',$result );18 $this->assertIsArray( $result ); 19 19 $this->assertSame( 0, count( $result ) ); 20 20 } … … 25 25 $result = $this->myxmlrpcserver->wp_getPostTypes( array( 1, 'editor', 'editor' ) ); 26 26 $this->assertNotIXRError( $result ); 27 $this->assertI nternalType( 'array',$result );27 $this->assertIsArray( $result ); 28 28 $this->assertGreaterThan( 0, count( $result ) ); 29 29 } … … 34 34 $result = $this->myxmlrpcserver->wp_getPostTypes( array( 1, 'editor', 'editor', array( 'hierarchical' => true ) ) ); 35 35 $this->assertNotIXRError( $result ); 36 $this->assertI nternalType( 'array',$result );36 $this->assertIsArray( $result ); 37 37 38 38 // Verify that page is in the result, and post is not.
Note: See TracChangeset
for help on using the changeset viewer.