Changeset 36779
- Timestamp:
- 02/29/2016 08:34:48 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/basic.php
r35244 r36779 92 92 } 93 93 94 /** 95 * @ticket 17884 96 */ 94 97 function test_setting_nonexistent_arrays() { 95 98 $page = 1; … … 98 101 $empty_array[$page][$field] = 'foo'; 99 102 103 // Assertion not strictly needed; we mainly want to show that a notice is not thrown. 100 104 unset( $empty_array[$page]['bar']['baz'] ); 105 $this->assertFalse( isset( $empty_array[ $page ]['bar']['baz'] ) ); 101 106 } 102 107
Note: See TracChangeset
for help on using the changeset viewer.