diff --git a/tests/CloudinaryTestCase.php b/tests/CloudinaryTestCase.php index 3baa488a..bc19f157 100644 --- a/tests/CloudinaryTestCase.php +++ b/tests/CloudinaryTestCase.php @@ -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; } );