Changeset 58954 for trunk/tests/phpunit/tests/option/registration.php
- Timestamp:
- 08/29/2024 11:26:35 PM (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/option/registration.php
r56817 r58954 152 152 153 153 /** 154 * The test passes if a Notice | Warning | Error is not raised. Thus. the absence of a Notice | Warning | Error 155 * is an indicator the fix in the ticket resolves the issue. 154 * Ensures that unregister_setting() does not throw a notice or warning for unknown settings. 156 155 * 157 156 * @ticket 57674 … … 159 158 * @covers ::unregister_setting 160 159 */ 161 public function test_unregister_invalid_setting_does_not_ raise_php_notice_warning_or_error() {160 public function test_unregister_invalid_setting_does_not_throw_notice_or_warning() { 162 161 $setting = uniqid(); 163 162 unregister_setting( $setting, $setting );
Note: See TracChangeset
for help on using the changeset viewer.