diff options
author | Robin Appelman <robin@icewind.nl> | 2020-03-19 15:28:02 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2020-04-01 15:23:05 +0200 |
commit | 3ba46f3b50645c563c45996e5ccea884129ee187 (patch) | |
tree | 7a8d82ff84fa474dd772a7d471c1af3ecfba45e0 /tests/lib/Files/ObjectStore/ObjectStoreTest.php | |
parent | 7b07e7251c8a92e95da922f34dde158ddffbeeee (diff) | |
download | nextcloud-server-3ba46f3b50645c563c45996e5ccea884129ee187.tar.gz nextcloud-server-3ba46f3b50645c563c45996e5ccea884129ee187.zip |
add basic tests for s3 seeking and add some error handling if reopen return the wrong range
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'tests/lib/Files/ObjectStore/ObjectStoreTest.php')
-rw-r--r-- | tests/lib/Files/ObjectStore/ObjectStoreTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Files/ObjectStore/ObjectStoreTest.php b/tests/lib/Files/ObjectStore/ObjectStoreTest.php index 1383c0149a2..67c41eb7ccc 100644 --- a/tests/lib/Files/ObjectStore/ObjectStoreTest.php +++ b/tests/lib/Files/ObjectStore/ObjectStoreTest.php @@ -31,7 +31,7 @@ abstract class ObjectStoreTest extends TestCase { */ abstract protected function getInstance(); - private function stringToStream($data) { + protected function stringToStream($data) { $stream = fopen('php://temp', 'w+'); fwrite($stream, $data); rewind($stream); |