From 52c733b31d439ffe8de529136edd140b413fe340 Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Thu, 6 Apr 2023 17:48:23 -0700 Subject: [PATCH] Add ability to set provided settings --- tests/Support/Settings.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/Support/Settings.php b/tests/Support/Settings.php index 55ca6edc4f..a28819e8df 100644 --- a/tests/Support/Settings.php +++ b/tests/Support/Settings.php @@ -23,6 +23,11 @@ class Settings $this->update(['full_multiple_companies_support' => 1]); } + public function set(array $attributes) + { + $this->update($attributes); + } + private function update(array $attributes) { Setting::unguarded(fn() => $this->setting->update($attributes));