Fix check in integration tests

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
Côme Chilliet 2023-01-12 12:21:21 +01:00
parent f8d222d42d
commit 7b93a143c8
No known key found for this signature in database
GPG key ID: A3E2F658B28C760A

View 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");
}