Skip to content

Commit 2a3767a

Browse files
committed
docs: fix format of testing/overview.rst
1 parent fec6ed7 commit 2a3767a

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

user_guide_src/source/testing/overview.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ To test a new library, **Foo**, you would create a new file at **tests/app/Libra
8080
}
8181
}
8282

83-
To test one of your models, you might end up with something like this in ``tests/app/Models/OneOfMyModelsTest.php``::
83+
To test one of your models, you might end up with something like this in **tests/app/Models/OneOfMyModelsTest.php**::
8484

8585
<?php
8686

@@ -203,7 +203,7 @@ Ensure that an event you expected to be triggered actually was::
203203

204204
$this->assertEventTriggered('foo');
205205

206-
**assertHeaderEmitted($header, $ignoreCase=false)**
206+
**assertHeaderEmitted($header, $ignoreCase = false)**
207207

208208
Ensure that a header or cookie was actually emitted::
209209

@@ -218,7 +218,7 @@ Ensure that a header or cookie was actually emitted::
218218
Note: the test case with this should be `run as a separate process
219219
in PHPunit <https://phpunit.readthedocs.io/en/7.4/annotations.html#runinseparateprocess>`_.
220220

221-
**assertHeaderNotEmitted($header, $ignoreCase=false)**
221+
**assertHeaderNotEmitted($header, $ignoreCase = false)**
222222

223223
Ensure that a header or cookie was not emitted::
224224

@@ -233,7 +233,7 @@ Ensure that a header or cookie was not emitted::
233233
Note: the test case with this should be `run as a separate process
234234
in PHPunit <https://phpunit.readthedocs.io/en/7.4/annotations.html#runinseparateprocess>`_.
235235

236-
**assertCloseEnough($expected, $actual, $message='', $tolerance=1)**
236+
**assertCloseEnough($expected, $actual, $message = '', $tolerance = 1)**
237237

238238
For extended execution time testing, tests that the absolute difference
239239
between expected and actual time is within the prescribed tolerance.::
@@ -244,7 +244,7 @@ between expected and actual time is within the prescribed tolerance.::
244244

245245
The above test will allow the actual time to be either 660 or 661 seconds.
246246

247-
**assertCloseEnoughString($expected, $actual, $message='', $tolerance=1)**
247+
**assertCloseEnoughString($expected, $actual, $message = '', $tolerance = 1)**
248248

249249
For extended execution time testing, tests that the absolute difference
250250
between expected and actual time, formatted as strings, is within the prescribed tolerance.::

0 commit comments

Comments
 (0)