@@ -74,7 +74,7 @@ Shorthand methods for each of the HTTP verbs exist to ease typing and make thing
74
74
$this->delete($path, $params);
75
75
$this->options($path, $params);
76
76
77
- .. note :: The $params array does not make sense for every HTTP verb, but is included for consistency.
77
+ .. note :: The `` $params`` array does not make sense for every HTTP verb, but is included for consistency.
78
78
79
79
Setting Different Routes
80
80
------------------------
@@ -96,7 +96,7 @@ Setting Session Values
96
96
----------------------
97
97
98
98
You can set custom session values to use during a single test with the ``withSession() `` method. This takes an array
99
- of key/value pairs that should exist within the $_SESSION variable when this request is made, or ``null` to indicate
99
+ of key/value pairs that should exist within the `` $_SESSION `` variable when this request is made, or ``null ` ` to indicate
100
100
that the current values of ``$_SESSION `` should be used. This is handy for testing authentication and more.
101
101
::
102
102
@@ -136,7 +136,7 @@ Formatting The Request
136
136
-----------------------
137
137
138
138
You can set the format of your request's body using the ``withBodyFormat() `` method. Currently this supports either
139
- `json ` or `xml `. This will take the parameters passed into ``call(), post(), get()... `` and assign them to the
139
+ `json ` or `xml `. This will take the parameters passed into ``call() ``, `` post() ``, `` get() `` ... and assign them to the
140
140
body of the request in the given format. This will also set the `Content-Type ` header for your request accordingly.
141
141
This is useful when testing JSON or XML API's so that you can set the request in the form that the controller will expect.
142
142
::
0 commit comments