mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-01-30 13:37:33 +00:00
Build/Tests: Ensure set_error_handler is cleaned up.
Follow up to: [57332]. Fixes #60305. git-svn-id: https://develop.svn.wordpress.org/trunk@57361 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
fe1df4023c
commit
3cb6f03541
@ -4304,6 +4304,9 @@ class Tests_Theme_wpThemeJson extends WP_UnitTestCase {
|
||||
);
|
||||
|
||||
$theme_json->set_spacing_sizes();
|
||||
|
||||
restore_error_handler();
|
||||
|
||||
$this->assertSame( $expected_output, _wp_array_get( $theme_json->get_raw_data(), array( 'settings', 'spacing', 'spacingSizes', 'default' ) ) );
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user