You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,6 +86,12 @@ The status code of a request is loaded from a fixture with the file extension _.
86
86
This is a plain file containing only the [HTTP status code](https://httpstatuses.com/).
87
87
If no _.status_ file is found, _200 OK_ will be used.
88
88
89
+
## Mocks (advanced)
90
+
91
+
This client extends [php-http/mock-client](https://github.com/php-http/mock-client), which allows you to add custom responses and exceptions that ignore fixture files. Please see the [mock-client documentation](https://github.com/php-http/mock-client#documentation) for more information.
92
+
93
+
N.B. A default response can not be set because this client uses that under the hood.
94
+
89
95
## Change log
90
96
91
97
Please see [CHANGELOG](https://github.com/swisnl/php-http-fixture-client/blob/master/CHANGELOG.md) for more information on what has changed recently.
0 commit comments