Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
const-cloudinary committed Jul 23, 2024
1 parent 597b54b commit 5664f65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/CloudinaryTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ protected static function assertArrayContainsArray($haystack, $needle)
$haystack,
static function ($item) use ($needle) {
/** @noinspection TypeUnsafeComparisonInspection */
return $item == $needle;
return array_intersect_key($item, $needle) == $needle;
}
);

Expand Down

0 comments on commit 5664f65

Please sign in to comment.