Changeset 49606
- Timestamp:
- 11/15/2020 05:17:55 PM (4 years ago)
- Location:
- trunk/tests/phpunit
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/testcase-rest-api.php
r46586 r49606 8 8 } 9 9 10 $this->assert InstanceOf( 'WP_Error',$response );10 $this->assertWPError( $response ); 11 11 $this->assertEquals( $code, $response->get_error_code() ); 12 12 -
trunk/tests/phpunit/tests/date/query.php
r48952 r49606 10 10 */ 11 11 class Tests_WP_Date_Query extends WP_UnitTestCase { 12 /** 13 * @var WP_Date_Query $q 14 */ 12 15 public $q; 13 16 -
trunk/tests/phpunit/tests/rest-api/rest-autosaves-controller.php
r49603 r49606 39 39 40 40 protected function check_create_autosave_response( $response ) { 41 $this->assertNot InstanceOf( 'WP_Error',$response );41 $this->assertNotWPError( $response ); 42 42 $response = rest_ensure_response( $response ); 43 43 $data = $response->get_data();
Note: See TracChangeset
for help on using the changeset viewer.