diff --git a/tests/Support/InteractsWithSettings.php b/tests/Support/InteractsWithSettings.php index aae1aab9d9..a8c0070188 100644 --- a/tests/Support/InteractsWithSettings.php +++ b/tests/Support/InteractsWithSettings.php @@ -8,7 +8,7 @@ trait InteractsWithSettings { protected Settings $settings; - public function setUpSettings() + public function initializeSettings() { $this->settings = Settings::initialize(); diff --git a/tests/TestCase.php b/tests/TestCase.php index e3fd8a7aa4..28051c7c7f 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -23,7 +23,7 @@ abstract class TestCase extends BaseTestCase $this->withoutMiddleware($this->globallyDisabledMiddleware); if (collect(class_uses_recursive($this))->contains(InteractsWithSettings::class)) { - $this->setUpSettings(); + $this->initializeSettings(); } } }