- Timestamp:
- 02/14/2025 10:34:23 AM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/fonts/font-library/wpRestFontFamiliesController.php
r58328 r59822 237 237 238 238 $this->assertSame( 200, $response->get_status(), 'The response status should be 200.' ); 239 $this->assertCount( 1, $data, 'There should be 2 propertiesin the response data.' );239 $this->assertCount( 1, $data, 'There should be 1 property in the response data.' ); 240 240 $this->assertArrayHasKey( 'id', $data[0], 'The id property should exist in the response data.' ); 241 241 $this->assertSame( $font_family->ID, $data[0]['id'], 'The id should match the expected ID in the response data.' );
Note: See TracChangeset
for help on using the changeset viewer.