add stuff necessary to run integration tests using phpunit

This commit is contained in:
Andrew Dolgov
2023-10-28 18:43:47 +03:00
parent 0ac8710ea1
commit 855695a862
8 changed files with 105 additions and 15 deletions

View File

@@ -343,7 +343,7 @@ class Prefs {
$value = Config::cast_to($value, $type_hint);
if ($value == $this->_get($pref_name, $owner_uid, $profile_id))
return false;
return true; // no need to actually set this to the same value, let's just say we did
$this->_set_cache($pref_name, $value, $owner_uid, $profile_id);