aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests/Backend/BackendTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/tests/Backend/BackendTest.php')
-rw-r--r--apps/files_external/tests/Backend/BackendTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_external/tests/Backend/BackendTest.php b/apps/files_external/tests/Backend/BackendTest.php
index 771c053982c..26aa5ebe6af 100644
--- a/apps/files_external/tests/Backend/BackendTest.php
+++ b/apps/files_external/tests/Backend/BackendTest.php
@@ -10,7 +10,7 @@ use OCA\Files_External\Lib\Backend\Backend;
use OCA\Files_External\Lib\StorageConfig;
class BackendTest extends \Test\TestCase {
- public function testJsonSerialization() {
+ public function testJsonSerialization(): void {
$backend = $this->getMockBuilder(Backend::class)
->setMethods(['jsonSerializeDefinition'])
->getMock();
@@ -42,7 +42,7 @@ class BackendTest extends \Test\TestCase {
/**
* @dataProvider validateStorageProvider
*/
- public function testValidateStorage($expectedSuccess, $definitionSuccess) {
+ public function testValidateStorage($expectedSuccess, $definitionSuccess): void {
$backend = $this->getMockBuilder(Backend::class)
->setMethods(['validateStorageDefinition'])
->getMock();
@@ -57,7 +57,7 @@ class BackendTest extends \Test\TestCase {
$this->assertEquals($expectedSuccess, $backend->validateStorage($storageConfig));
}
- public function testLegacyAuthMechanismCallback() {
+ public function testLegacyAuthMechanismCallback(): void {
$backend = new Backend();
$backend->setLegacyAuthMechanismCallback(function (array $params) {
if (isset($params['ping'])) {