From 4d51670446735e9945e8d1b854d057ea05b8b6bb Mon Sep 17 00:00:00 2001 From: Baptiste Langlade Date: Sat, 6 Jul 2024 10:03:09 +0200 Subject: [PATCH] display names to find which property fails --- properties/MatchingOptional.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/properties/MatchingOptional.php b/properties/MatchingOptional.php index b0bf578..5f76419 100644 --- a/properties/MatchingOptional.php +++ b/properties/MatchingOptional.php @@ -123,10 +123,10 @@ static function() use ($repository, $user1, $user2, $user3) { $assert ->expected($user1->id()->toString()) ->not() - ->in($found); + ->in($found, $this->name1); $assert ->expected($user2->id()->toString()) - ->in($found); + ->in($found, $this->name2); $assert ->expected($user3->id()->toString()) ->in($found);