diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-12-13 16:59:14 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-01-02 15:12:01 +0100 |
commit | 61895e9c79fba36eddfbbc319bdb39661844ad8b (patch) | |
tree | 49e44310b52291097a3d05bff5ff69d6f42e62bc /apps/files_external | |
parent | 3c0b1bdc30d7d8f386155ad1f9cc56c3c061b4bc (diff) | |
download | nextcloud-server-61895e9c79fba36eddfbbc319bdb39661844ad8b.tar.gz nextcloud-server-61895e9c79fba36eddfbbc319bdb39661844ad8b.zip |
Fix files_external tests with phpunit 9
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/files_external')
-rw-r--r-- | apps/files_external/tests/Backend/BackendTest.php | 4 |
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() { |