Changeset 48937 for trunk/tests/phpunit/tests/xmlrpc/wp/getPages.php
- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/xmlrpc/wp/getPages.php
r46586 r48937 34 34 $result = $this->myxmlrpcserver->wp_getPages( array( 1, 'username', 'password' ) ); 35 35 $this->assertIXRError( $result ); 36 $this->assert Equals( 403, $result->code );36 $this->assertSame( 403, $result->code ); 37 37 } 38 38 … … 42 42 $result = $this->myxmlrpcserver->wp_getPages( array( 1, 'contributor', 'contributor' ) ); 43 43 $this->assertIXRError( $result ); 44 $this->assert Equals( 401, $result->code );44 $this->assertSame( 401, $result->code ); 45 45 } 46 46 … … 51 51 foreach ( $results as $result ) { 52 52 $page = get_post( $result['page_id'] ); 53 $this->assert Equals( $page->post_type, 'page' );53 $this->assertSame( $page->post_type, 'page' ); 54 54 } 55 55 }
Note: See TracChangeset
for help on using the changeset viewer.