aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests/sharedmount.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-11-10 22:28:12 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-11-19 14:52:09 +0100
commit76ebd3a050cb3c84b958f071ec559e6bc9cbc847 (patch)
tree5d781de62a647778ac377e8a1173dea82427328d /apps/files_sharing/tests/sharedmount.php
parentbb540722cd4e197bd608d9a87e4b10cf66dec5a9 (diff)
downloadnextcloud-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/sharedmount.php')
-rw-r--r--apps/files_sharing/tests/sharedmount.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/tests/sharedmount.php b/apps/files_sharing/tests/sharedmount.php
index 6d155f174ba..dd66ca05d38 100644
--- a/apps/files_sharing/tests/sharedmount.php
+++ b/apps/files_sharing/tests/sharedmount.php
@@ -25,7 +25,7 @@
*/
class Test_Files_Sharing_Mount extends OCA\Files_sharing\Tests\TestCase {
- function setUp() {
+ protected function setUp() {
parent::setUp();
$this->folder = '/folder_share_storage_test';
@@ -40,7 +40,7 @@ class Test_Files_Sharing_Mount 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);