Skip to content

A free open source IT asset/license management system

adds setEula to support\settings

Godfrey M20fa4c39f903
diff --git a/tests/Support/Settings.php b/tests/Support/Settings.php
index 2d499838c2..e171c0ab95 100644
--- a/tests/Support/Settings.php
+++ b/tests/Support/Settings.php
@@ -121,6 +121,10 @@ class Settings
'ldap_basedn' => 'CN=Users,DC=ad,DC=example,Dc=com'
]);
}
+ public function setEula($text = 'Default EULA text')
+ {
+ return $this->update(['default_eula_text' => $text]);
+ }
/**
* @param array $attributes Attributes to modify in the application's settings.