diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-11-10 22:28:12 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-11-19 14:52:09 +0100 |
commit | 76ebd3a050cb3c84b958f071ec559e6bc9cbc847 (patch) | |
tree | 5d781de62a647778ac377e8a1173dea82427328d /apps/files_sharing/tests/sharedstorage.php | |
parent | bb540722cd4e197bd608d9a87e4b10cf66dec5a9 (diff) | |
download | nextcloud-server-76ebd3a050cb3c84b958f071ec559e6bc9cbc847.tar.gz nextcloud-server-76ebd3a050cb3c84b958f071ec559e6bc9cbc847.zip |
Make apps/ extend the \Test\TestCase and fix overwritten methods
Diffstat (limited to 'apps/files_sharing/tests/sharedstorage.php')
-rw-r--r-- | apps/files_sharing/tests/sharedstorage.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/tests/sharedstorage.php b/apps/files_sharing/tests/sharedstorage.php index ab15e8fe3ba..75373244508 100644 --- a/apps/files_sharing/tests/sharedstorage.php +++ b/apps/files_sharing/tests/sharedstorage.php @@ -27,7 +27,7 @@ use OCA\Files\Share; */ class Test_Files_Sharing_Storage extends OCA\Files_sharing\Tests\TestCase { - function setUp() { + protected function setUp() { parent::setUp(); $this->folder = '/folder_share_storage_test'; @@ -42,7 +42,7 @@ class Test_Files_Sharing_Storage extends OCA\Files_sharing\Tests\TestCase { $this->view->file_put_contents($this->folder . $this->filename, "file in subfolder"); } - function tearDown() { + protected function tearDown() { $this->view->unlink($this->folder); $this->view->unlink($this->filename); |