diff options
author | Robin Appelman <robin@icewind.nl> | 2021-01-08 18:14:44 +0300 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2021-01-08 18:14:44 +0300 |
commit | 79b142cd121170663b894e5fc4a32fe50aa33152 (patch) | |
tree | fedb8199267e2bed9bf6a01c88411ba79315cc1a /apps/files_external/tests/Controller/StoragesControllerTest.php | |
parent | 518e91b0087058f2c9813da6a2427a56fc14e32c (diff) |
adjust tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files_external/tests/Controller/StoragesControllerTest.php')
-rw-r--r-- | apps/files_external/tests/Controller/StoragesControllerTest.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files_external/tests/Controller/StoragesControllerTest.php b/apps/files_external/tests/Controller/StoragesControllerTest.php index fffac01507a..80dd01d3684 100644 --- a/apps/files_external/tests/Controller/StoragesControllerTest.php +++ b/apps/files_external/tests/Controller/StoragesControllerTest.php @@ -338,7 +338,9 @@ abstract class StoragesControllerTest extends \Test\TestCase { $response = $this->controller->show(1); $this->assertEquals(Http::STATUS_OK, $response->getStatus()); - $this->assertEquals($storageConfig, $response->getData()); + $expected = $storageConfig->jsonSerialize(); + $expected['can_edit'] = false; + $this->assertEquals($expected, $response->getData()); } public function validateStorageProvider() { |