First complete upload CasaDoc

This commit is contained in:
2024-09-18 10:42:19 +02:00
commit 2ab3e52df3
3042 changed files with 407823 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
<?php
namespace Tests;
use Setting;
trait UpdatesSettings
{
/**
* Set some setting that should automatically be
* reverted to it's default value after each test.
* @param array $settings
*/
protected function setSettings(array $settings)
{
foreach ($settings as $key => $value) {
Setting::set($key, $value);
}
Setting::save();
}
}