Changeset 58673
- Timestamp:
- 07/04/2024 03:09:15 PM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-global-styles-revisions-controller.php
r58225 r58673 273 273 // Global styles. 274 274 $config = ( new WP_Theme_JSON( json_decode( $revision_expected_item->post_content, true ), 'custom' ) )->get_raw_data(); 275 $this->assert Equals(275 $this->assertSame( 276 276 $config['settings'], 277 277 $response_revision_item['settings'], 278 278 'Check that the revision settings exist in the response.' 279 279 ); 280 $this->assert Equals(280 $this->assertSame( 281 281 $config['styles'], 282 282 $response_revision_item['styles'], … … 372 372 373 373 $this->assertCount( $this->total_revisions + 1, $data, 'Check that extra revision exist' ); 374 $this->assert Equals( self::$second_admin_id, $data[0]['author'], 'Check that second author id returns expected value.' );374 $this->assertSame( self::$second_admin_id, $data[0]['author'], 'Check that second author id returns expected value.' ); 375 375 } 376 376
Note: See TracChangeset
for help on using the changeset viewer.