- Timestamp:
- 07/10/2021 11:15:44 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-taxonomies-controller.php
r51367 r51397 267 267 $this->assertSame( $tax_obj->show_ui, $data['visibility']['show_ui'] ); 268 268 } else { 269 $this->assert False( isset( $data['capabilities'] ));270 $this->assert False( isset( $data['labels'] ));271 $this->assert False( isset( $data['show_cloud'] ));272 $this->assert False( isset( $data['visibility'] ));269 $this->assertArrayNotHasKey( 'capabilities', $data ); 270 $this->assertArrayNotHasKey( 'labels', $data ); 271 $this->assertArrayNotHasKey( 'show_cloud', $data ); 272 $this->assertArrayNotHasKey( 'visibility', $data ); 273 273 } 274 274 }
Note: See TracChangeset
for help on using the changeset viewer.