diff options
author | Robin Appelman <robin@icewind.nl> | 2022-08-04 12:32:46 +0200 |
---|---|---|
committer | John Molakvoæ (Rebase PR Action) <skjnldsv@users.noreply.github.com> | 2022-10-26 18:45:59 +0000 |
commit | 3357c8e78302a14d9f70b0b74ff5d3d143a03315 (patch) | |
tree | 6a067b08f7202e00a185db338badb37a9815cf20 /tests/lib/Files/ObjectStore/ObjectStoreStorageOverwrite.php | |
parent | a5036a973c2e5e27354d7112620fdb7a895a44b9 (diff) | |
download | nextcloud-server-3357c8e78302a14d9f70b0b74ff5d3d143a03315.tar.gz nextcloud-server-3357c8e78302a14d9f70b0b74ff5d3d143a03315.zip |
test disabling write check
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'tests/lib/Files/ObjectStore/ObjectStoreStorageOverwrite.php')
-rw-r--r-- | tests/lib/Files/ObjectStore/ObjectStoreStorageOverwrite.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lib/Files/ObjectStore/ObjectStoreStorageOverwrite.php b/tests/lib/Files/ObjectStore/ObjectStoreStorageOverwrite.php index 5872056e42d..b85f6289c94 100644 --- a/tests/lib/Files/ObjectStore/ObjectStoreStorageOverwrite.php +++ b/tests/lib/Files/ObjectStore/ObjectStoreStorageOverwrite.php @@ -37,4 +37,8 @@ class ObjectStoreStorageOverwrite extends ObjectStoreStorage { public function getObjectStore(): IObjectStore { return $this->objectStore; } + + public function setValidateWrites(bool $validate) { + $this->validateWrites = $validate; + } } |