summaryrefslogtreecommitdiffstats
path: root/tests/lib/Files/ObjectStore
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-11-21 16:40:38 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2019-11-27 13:34:41 +0100
commitc007ca624f4a95e1a491221d425fcb2fa6e5589a (patch)
treeb60aa133b438eb116ac3579283aa8a7967efd12b /tests/lib/Files/ObjectStore
parente0f32814e33f9ebb8c42744611048cbfac1eb588 (diff)
downloadnextcloud-server-c007ca624f4a95e1a491221d425fcb2fa6e5589a.tar.gz
nextcloud-server-c007ca624f4a95e1a491221d425fcb2fa6e5589a.zip
Make phpunit8 compatible
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests/lib/Files/ObjectStore')
-rw-r--r--tests/lib/Files/ObjectStore/NoopScannerTest.php2
-rw-r--r--tests/lib/Files/ObjectStore/ObjectStoreStorageTest.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/Files/ObjectStore/NoopScannerTest.php b/tests/lib/Files/ObjectStore/NoopScannerTest.php
index 1832ed8d61a..8b879e8ab37 100644
--- a/tests/lib/Files/ObjectStore/NoopScannerTest.php
+++ b/tests/lib/Files/ObjectStore/NoopScannerTest.php
@@ -19,7 +19,7 @@ class NoopScannerTest extends \Test\TestCase {
/** @var \OC\Files\ObjectStore\NoopScanner $scanner */
private $scanner;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$this->storage = new \OC\Files\Storage\Temporary(array());
diff --git a/tests/lib/Files/ObjectStore/ObjectStoreStorageTest.php b/tests/lib/Files/ObjectStore/ObjectStoreStorageTest.php
index ce9c9d2cd69..b8c7b15e039 100644
--- a/tests/lib/Files/ObjectStore/ObjectStoreStorageTest.php
+++ b/tests/lib/Files/ObjectStore/ObjectStoreStorageTest.php
@@ -38,7 +38,7 @@ class ObjectStoreStorageTest extends Storage {
*/
private $objectStorage;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$baseStorage = new Temporary();
@@ -47,7 +47,7 @@ class ObjectStoreStorageTest extends Storage {
$this->instance = new ObjectStoreStorageOverwrite($config);
}
- protected function tearDown() {
+ protected function tearDown(): void {
if (is_null($this->instance)) {
return;
}