- Timestamp:
- 07/10/2021 11:15:44 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-categories-controller.php
r51367 r51397 748 748 749 749 $meta = (array) $data['meta']; 750 $this->assert False( isset( $meta['test_tag_meta'] ));750 $this->assertArrayNotHasKey( 'test_tag_meta', $meta ); 751 751 } 752 752 … … 943 943 $this->assertSame( 'just meta', $data['meta']['test_single'] ); 944 944 $this->assertSame( 'category-specific meta', $data['meta']['test_cat_single'] ); 945 $this->assert False( isset( $data['meta']['test_tag_meta'] ));945 $this->assertArrayNotHasKey( 'test_tag_meta', $data['meta'] ); 946 946 } 947 947 … … 1210 1210 $this->assertSame( $term->parent, $data['parent'] ); 1211 1211 } else { 1212 $this->assert False( isset( $term->parent ));1212 $this->assertObjectNotHasProperty( 'parent', $term ); 1213 1213 } 1214 1214
Note: See TracChangeset
for help on using the changeset viewer.