Make WordPress Core


Ignore:
Timestamp:
01/26/2024 12:52:39 AM (5 months ago)
Author:
jorbin
Message:

Build/Tests: Ensure set_error_handler is cleaned up.

Follow up to: [57332].

Fixes #60305.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/theme/wpThemeJson.php

    r57352 r57361  
    43054305
    43064306        $theme_json->set_spacing_sizes();
     4307
     4308        restore_error_handler();
     4309
    43074310        $this->assertSame( $expected_output, _wp_array_get( $theme_json->get_raw_data(), array( 'settings', 'spacing', 'spacingSizes', 'default' ) ) );
    43084311    }
Note: See TracChangeset for help on using the changeset viewer.