Changeset 48937 for trunk/tests/phpunit/tests/xmlrpc/wp/getPageList.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/getPageList.php
r46586 r48937 26 26 $result = $this->myxmlrpcserver->wp_getPageList( array( 1, 'username', 'password' ) ); 27 27 $this->assertIXRError( $result ); 28 $this->assert Equals( 403, $result->code );28 $this->assertSame( 403, $result->code ); 29 29 } 30 30 … … 34 34 $result = $this->myxmlrpcserver->wp_getPageList( array( 1, 'contributor', 'contributor' ) ); 35 35 $this->assertIXRError( $result ); 36 $this->assert Equals( 401, $result->code );36 $this->assertSame( 401, $result->code ); 37 37 } 38 38 … … 50 50 $this->assertInstanceOf( 'IXR_Date', $result->date_created_gmt ); 51 51 52 $this->assert Equals( strtotime( $page->post_date ), $result->dateCreated->getTimestamp() );53 $this->assert Equals( $date_gmt, $result->date_created_gmt->getTimestamp() );52 $this->assertSame( strtotime( $page->post_date ), $result->dateCreated->getTimestamp() ); 53 $this->assertSame( $date_gmt, $result->date_created_gmt->getTimestamp() ); 54 54 } 55 55 }
Note: See TracChangeset
for help on using the changeset viewer.