Changeset 51397 for trunk/tests/phpunit/tests/blocks/block-list.php
- Timestamp:
- 07/10/2021 11:15:44 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/blocks/block-list.php
r51367 r51397 52 52 53 53 // Test "offsetExists". 54 $this->assert True( isset( $blocks[0] ));54 $this->assertArrayHasKey( 0, $blocks ); 55 55 56 56 // Test "offsetGet". … … 64 64 // Test "offsetUnset". 65 65 unset( $blocks[0] ); 66 $this->assert False( isset( $blocks[0] ));66 $this->assertArrayNotHasKey( 0, $blocks ); 67 67 } 68 68
Note: See TracChangeset
for help on using the changeset viewer.