- Timestamp:
- 06/08/2021 01:54:27 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-widgets-controller.php
r51079 r51088 656 656 $response = rest_get_server()->dispatch( $request ); 657 657 $data = $response->get_data(); 658 $this->assertSame( 'block- 2', $data['id'] );658 $this->assertSame( 'block-7', $data['id'] ); 659 659 $this->assertSame( 'sidebar-1', $data['sidebar'] ); 660 660 $this->assertEqualSets( … … 662 662 'content' => '<!-- wp:paragraph --><p>Block test</p><!-- /wp:paragraph -->', 663 663 ), 664 get_option( 'widget_block' )[ 2]664 get_option( 'widget_block' )[7] 665 665 ); 666 666 }
Note: See TracChangeset
for help on using the changeset viewer.