Skip to content

A free open source IT asset/license management system

Add ability to set provided settings

Marcus Moore52c733b31d43
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));