Skip to content

Commit 5664f65

Browse files
Fix tests
1 parent 597b54b commit 5664f65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/CloudinaryTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ protected static function assertArrayContainsArray($haystack, $needle)
101101
$haystack,
102102
static function ($item) use ($needle) {
103103
/** @noinspection TypeUnsafeComparisonInspection */
104-
return $item == $needle;
104+
return array_intersect_key($item, $needle) == $needle;
105105
}
106106
);
107107

0 commit comments

Comments
 (0)