summaryrefslogtreecommitdiffstats
path: root/tests/lib/Share
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Share')
-rw-r--r--tests/lib/Share/Backend.php3
-rw-r--r--tests/lib/Share/HelperTest.php1
-rw-r--r--tests/lib/Share/ShareTest.php3
3 files changed, 0 insertions, 7 deletions
diff --git a/tests/lib/Share/Backend.php b/tests/lib/Share/Backend.php
index a0d45b9b782..661da326e4c 100644
--- a/tests/lib/Share/Backend.php
+++ b/tests/lib/Share/Backend.php
@@ -22,7 +22,6 @@
namespace Test\Share;
class Backend implements \OCP\Share_Backend {
-
const FORMAT_SOURCE = 0;
const FORMAT_TARGET = 1;
const FORMAT_PERMISSIONS = 2;
@@ -66,7 +65,6 @@ class Backend implements \OCP\Share_Backend {
$i++;
}
$target = $name.$append.$ext;
-
}
return $target;
@@ -89,5 +87,4 @@ class Backend implements \OCP\Share_Backend {
public function isShareTypeAllowed($shareType) {
return true;
}
-
}
diff --git a/tests/lib/Share/HelperTest.php b/tests/lib/Share/HelperTest.php
index 941cb5b737d..44bd70e7e29 100644
--- a/tests/lib/Share/HelperTest.php
+++ b/tests/lib/Share/HelperTest.php
@@ -26,7 +26,6 @@ namespace Test\Share;
* Class Helper
*/
class HelperTest extends \Test\TestCase {
-
public function expireDateProvider() {
return [
// no default expire date, we take the users expire date
diff --git a/tests/lib/Share/ShareTest.php b/tests/lib/Share/ShareTest.php
index b90e18a6238..57d174cab46 100644
--- a/tests/lib/Share/ShareTest.php
+++ b/tests/lib/Share/ShareTest.php
@@ -33,7 +33,6 @@ use OCP\IUserManager;
* @group DB
*/
class ShareTest extends \Test\TestCase {
-
protected $itemType;
/** @var IUser */
@@ -247,11 +246,9 @@ class ShareTest extends \Test\TestCase {
* @param array $grouped
*/
function testGroupItems($ungrouped, $grouped) {
-
$result = DummyShareClass::groupItemsTest($ungrouped);
$this->compareArrays($grouped, $result);
-
}
function compareArrays($result, $expectedResult) {