Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2f66884

Browse files
bipedal-robotestahn
authored andcommitted
fix: assertInternalType invalid when $expected is NULL
1 parent ec7dd1e commit 2f66884

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/Assert.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public static function assertJsonValueEquals($expected, $expression, $json)
8585
$result = \JmesPath\Env::search($expression, $json);
8686

8787
\PHPUnit\Framework\Assert::assertEquals($expected, $result);
88-
\PHPUnit\Framework\Assert::assertInternalType(gettype($expected), $result);
88+
\PHPUnit\Framework\Assert::assertInternalType(strtolower(gettype($expected)), $result);
8989
}
9090

9191
/**

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /