We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 725c18f commit fc485cdCopy full SHA for fc485cd
src/Assert.php
@@ -81,23 +81,12 @@ public static function assertJsonMatchesSchemaString($schema, $content)
81
*/
82
public static function assertJsonValueEquals($expected, $expression, $json)
83
{
84
- $result = self::search($expression, $json);
+ $result = \JmesPath\Env::search($expression, $json);
85
86
self::assertEquals($expected, $result);
87
self::assertInternalType(gettype($expected), $result);
88
}
89
90
- /**
91
- * @param $expression
92
- * @param $data
93
- *
94
- * @return mixed|null
95
- */
96
- public static function search($expression, $data)
97
- {
98
- return \JmesPath\Env::search($expression, $data);
99
- }
100
-
101
/**
102
* Helper method to deserialise a JSON string into an object.
103
*
0 commit comments