Skip to content

A free open source IT asset/license management system

FMSC Tests: added enableFloaterMode for setup

snipe758c1cabc5a7
diff --git a/tests/Support/Settings.php b/tests/Support/Settings.php
index fff2a79f63..35e91b40f5 100644
--- a/tests/Support/Settings.php
+++ b/tests/Support/Settings.php
@@ -102,6 +102,19 @@ class Settings
return $this;
}
+ public function enableFloaterMode(): Settings
+ {
+ return $this->update([
+ 'full_multiple_companies_support' => 1,
+ 'null_company_is_floater' => 1,
+ ]);
+ }
+
+ public function disableFloaterMode(): Settings
+ {
+ return $this->update(['null_company_is_floater' => 0]);
+ }
+
public function enableSlackWebhook(): Settings
{
return $this->update([