aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/files_external/tests/Backend/BackendTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/tests/Backend/BackendTest.php b/apps/files_external/tests/Backend/BackendTest.php
index 011b8711c4a..066aab0ff31 100644
--- a/apps/files_external/tests/Backend/BackendTest.php
+++ b/apps/files_external/tests/Backend/BackendTest.php
@@ -46,8 +46,8 @@ class BackendTest extends \Test\TestCase {
$this->assertEquals($json['name'], $json['backend']);
$this->assertEquals(57, $json['priority']);
- $this->assertContains('foopass', $json['authSchemes']);
- $this->assertContains('barauth', $json['authSchemes']);
+ $this->assertContains('foopass', array_keys($json['authSchemes']));
+ $this->assertContains('barauth', array_keys($json['authSchemes']));
}
public function validateStorageProvider() {