From 7b93a143c827ae64393865cbafb455cd38745f58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= Date: Thu, 12 Jan 2023 12:21:21 +0100 Subject: [PATCH] Fix check in integration tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- build/integration/features/bootstrap/Sharing.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); }