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.
2 parents 43ee648 + 73f6261 commit 77dcaefCopy full SHA for 77dcaef
user_guide_src/source/testing/feature.rst
@@ -379,10 +379,7 @@ Asserts that $fragment is found within the JSON response. It does not need to ma
379
]
380
381
// Is true
382
- $this->assertJSONFragment(['config' => ['key-a']);
383
-
384
-.. note:: This simply uses PHPUnit's own `assertArraySubset() <https://phpunit.readthedocs.io/en/7.2/assertions.html#assertarraysubset>`_
385
- method to do the comparison.
+ $result->assertJSONFragment(['config' => ['key-a']]);
386
387
**assertJSONExact($test)**
388
0 commit comments