aboutsummaryrefslogtreecommitdiffstats
path: root/build/integration/features/bootstrap/Sharing.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-01-12 12:21:21 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-01-20 11:22:12 +0100
commit7b93a143c827ae64393865cbafb455cd38745f58 (patch)
tree28a3c051c25c843c7f96eb3c9ea5e3efd6fa9e3a /build/integration/features/bootstrap/Sharing.php
parentf8d222d42d0dc02daa0280280ae9cbf7030280d7 (diff)
downloadnextcloud-server-7b93a143c827ae64393865cbafb455cd38745f58.tar.gz
nextcloud-server-7b93a143c827ae64393865cbafb455cd38745f58.zip
Fix check in integration tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'build/integration/features/bootstrap/Sharing.php')
-rw-r--r--build/integration/features/bootstrap/Sharing.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/integration/features/bootstrap/Sharing.php b/build/integration/features/bootstrap/Sharing.php
index aa9244d3c2a..2a6a509d65f 100644
--- a/build/integration/features/bootstrap/Sharing.php
+++ b/build/integration/features/bootstrap/Sharing.php
@@ -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");
}