diff --git a/src/Assert.php b/src/Assert.php index 253d440..23a90d6 100644 --- a/src/Assert.php +++ b/src/Assert.php @@ -85,7 +85,7 @@ public static function assertJsonValueEquals($expected, $expression, $json) $result = \JmesPath\Env::search($expression, $json); \PHPUnit\Framework\Assert::assertEquals($expected, $result); - \PHPUnit\Framework\Assert::assertInternalType(gettype($expected), $result); + \PHPUnit\Framework\Assert::assertInternalType(strtolower(gettype($expected)), $result); } /**