Skip to content

[3.0] Populates SMF\Config::$modSettings with default values in unit tests - #9791

Merged
Sesquipedalian merged 1 commit into
SimpleMachines:release-3.0from
Sesquipedalian:3.0/unittest_modSettings
Oct 22, 2026
Merged

Sesquipedalian merged 1 commit into
SimpleMachines:release-3.0from
Sesquipedalian:3.0/unittest_modSettings

Conversation

@Sesquipedalian

Copy link
Copy Markdown
Member

Since SMF\Db\Schema\v3_0\Settings::$initial_data gives us the default values for the SMF\Config::$modSettings array, we can populate it during unit tests without needing a database connection.

Since SMF\Db\Schema\v3_0\Settings::$initial_data gives us the default values for the SMF\Config::$modSettings array, we can populate it during unit tests without needing a database connection.

Signed-off-by: Jon Stovell <jonstovell@gmail.com>
@Sesquipedalian
Sesquipedalian merged commit 293360a into SimpleMachines:release-3.0 Oct 22, 2026
13 checks passed
@Sesquipedalian
Sesquipedalian deleted the 3.0/unittest_modSettings branch October 22, 2026 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant