summaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/tests')
-rw-r--r--apps/files_external/tests/Controller/StoragesControllerTest.php2
-rw-r--r--apps/files_external/tests/OwnCloudFunctionsTest.php2
-rw-r--r--apps/files_external/tests/Service/GlobalStoragesServiceTest.php8
3 files changed, 6 insertions, 6 deletions
diff --git a/apps/files_external/tests/Controller/StoragesControllerTest.php b/apps/files_external/tests/Controller/StoragesControllerTest.php
index 40d0154d992..617ad11c459 100644
--- a/apps/files_external/tests/Controller/StoragesControllerTest.php
+++ b/apps/files_external/tests/Controller/StoragesControllerTest.php
@@ -173,7 +173,7 @@ abstract class StoragesControllerTest extends \Test\TestCase {
$this->assertEquals($storageConfig, $data);
}
- function mountPointNamesProvider() {
+ public function mountPointNamesProvider() {
return [
[''],
['/'],
diff --git a/apps/files_external/tests/OwnCloudFunctionsTest.php b/apps/files_external/tests/OwnCloudFunctionsTest.php
index 7ce72ce62d6..47544312576 100644
--- a/apps/files_external/tests/OwnCloudFunctionsTest.php
+++ b/apps/files_external/tests/OwnCloudFunctionsTest.php
@@ -35,7 +35,7 @@ namespace OCA\Files_External\Tests;
* @package OCA\Files_External\Tests
*/
class OwnCloudFunctionsTest extends \Test\TestCase {
- function configUrlProvider() {
+ public function configUrlProvider() {
return [
[
[
diff --git a/apps/files_external/tests/Service/GlobalStoragesServiceTest.php b/apps/files_external/tests/Service/GlobalStoragesServiceTest.php
index b977a4b3eb6..e35649dacf5 100644
--- a/apps/files_external/tests/Service/GlobalStoragesServiceTest.php
+++ b/apps/files_external/tests/Service/GlobalStoragesServiceTest.php
@@ -63,7 +63,7 @@ class GlobalStoragesServiceTest extends StoragesServiceTest {
]);
}
- function storageDataProvider() {
+ public function storageDataProvider() {
return [
// all users
[
@@ -191,7 +191,7 @@ class GlobalStoragesServiceTest extends StoragesServiceTest {
$this->assertEquals(0, $newStorage->getStatus());
}
- function hooksAddStorageDataProvider() {
+ public function hooksAddStorageDataProvider() {
return [
// applicable all
[
@@ -320,7 +320,7 @@ class GlobalStoragesServiceTest extends StoragesServiceTest {
}
}
- function hooksUpdateStorageDataProvider() {
+ public function hooksUpdateStorageDataProvider() {
return [
[
// nothing to multiple users and groups
@@ -551,7 +551,7 @@ class GlobalStoragesServiceTest extends StoragesServiceTest {
}
}
- function hooksDeleteStorageDataProvider() {
+ public function hooksDeleteStorageDataProvider() {
return [
[
['user1', 'user2'],