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 f15c92e commit 9a417f4Copy full SHA for 9a417f4
user_guide_src/source/testing/feature.rst
@@ -379,7 +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']);
+ $results->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.
0 commit comments