Skip to content

Commit

Permalink
Ensure Admin_Settings::get_setting() tests run in separate processes.
Browse files Browse the repository at this point in the history
  • Loading branch information
costdev committed Nov 30, 2024
1 parent 77d4804 commit e18c4b4
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
/**
* Tests for Admin_Settings::get_setting()
*
* These tests cause constants to be defined.
* They must run in separate processes and must not preserve global state.
*
* @runTestsInSeparateProcesses
* @preserveGlobalState disabled
*
* @covers \AspireUpdate\Admin_Settings::get_setting
*/
class AdminSettings_GetSettingTest extends WP_UnitTestCase {
Expand Down

0 comments on commit e18c4b4

Please sign in to comment.