Skip to content

Commit 3d8e01d

Browse files
committed
docs: decorate variables and methods with '``'
1 parent 0c2b9b5 commit 3d8e01d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

user_guide_src/source/testing/feature.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Shorthand methods for each of the HTTP verbs exist to ease typing and make thing
7474
$this->delete($path, $params);
7575
$this->options($path, $params);
7676

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.
7878

7979
Setting Different Routes
8080
------------------------
@@ -96,7 +96,7 @@ Setting Session Values
9696
----------------------
9797

9898
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
100100
that the current values of ``$_SESSION`` should be used. This is handy for testing authentication and more.
101101
::
102102

@@ -136,7 +136,7 @@ Formatting The Request
136136
-----------------------
137137

138138
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
140140
body of the request in the given format. This will also set the `Content-Type` header for your request accordingly.
141141
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.
142142
::

0 commit comments

Comments
 (0)