]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix check in integration tests
authorCôme Chilliet <come.chilliet@nextcloud.com>
Thu, 12 Jan 2023 11:21:21 +0000 (12:21 +0100)
committerCôme Chilliet <come.chilliet@nextcloud.com>
Fri, 20 Jan 2023 10:22:12 +0000 (11:22 +0100)
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
build/integration/features/bootstrap/Sharing.php

index aa9244d3c2a9ae9d5b348ac9e8e18a0f94de4644..2a6a509d65f7b8d11e16ba6c0f60f91aaafdcf6d 100644 (file)
@@ -621,7 +621,7 @@ trait Sharing {
                        return;
                }
 
-               if (!array_key_exists($field, $returnedShare)) {
+               if (!property_exists($returnedShare, $field)) {
                        Assert::fail("$field was not found in response");
                }