From f7d2b62d875c9c8f348b896a5e114243f5f5ceb2 Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Mon, 1 May 2023 16:06:28 -0700 Subject: [PATCH] Improve method name --- tests/Support/InteractsWithSettings.php | 2 +- tests/TestCase.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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(); } } }