File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ class MyTestCase extends TestCase
121121Asserts that the JSON value found in ` $doc ` at JSON path ` $jsonPath ` is equal
122122to ` $expected ` .
123123
124- ##### ` assertJsonValueMatches($doc, $jsonPath, PHPUnit_Framework_Constraint $constraint) `
124+ ##### ` assertJsonValueMatches($doc, $jsonPath, \PHPUnit\Framework\Constraint $constraint) `
125125
126126Asserts that the JSON value found in ` $doc ` at JSON path ` $jsonPath ` matches
127127the constraint ` $constraint ` .
@@ -132,7 +132,7 @@ Example:
132132$this->assertJsonValueMatches(
133133 $jsonDocument,
134134 '$.age',
135- PHPUnit_Framework_Assert ::greaterThanOrEqual(18)
135+ \PHPUnit\Framework\Assert ::greaterThanOrEqual(18)
136136);
137137```
138138
@@ -147,7 +147,7 @@ Example:
147147``` php
148148$this->assertJsonDocumentMatches($jsonDocument, [
149149 '$.username' => 'mhelmich',
150- '$.age' => PHPUnit_Framework_Assert ::greaterThanOrEqual(18)
150+ '$.age' => \PHPUnit\Framework\Assert ::greaterThanOrEqual(18)
151151]);
152152```
153153
You can’t perform that action at this time.
0 commit comments