Skip to content

Commit ef6dee9

Browse files
committed
docs: fix section title level
1 parent 5ccb503 commit ef6dee9

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

user_guide_src/source/testing/response.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ create your own directly using any ``ResponseInterface``:
1414
:depth: 2
1515

1616
Testing the Response
17-
====================
17+
********************
1818

1919
Whether you have received a ``TestResponse`` as a result of your tests or created one yourself,
2020
there are a number of new assertions that you can use in your tests.
2121

2222
Accessing Request/Response
23-
--------------------------
23+
==========================
2424

2525
**request()**
2626

@@ -35,7 +35,7 @@ This allows you direct access to the response object:
3535
.. literalinclude:: response/003.php
3636

3737
Checking Response Status
38-
------------------------
38+
========================
3939

4040
**isOK()**
4141

@@ -82,7 +82,7 @@ Asserts that the HTTP status code returned matches $code.
8282
.. literalinclude:: response/010.php
8383

8484
Session Assertions
85-
------------------
85+
==================
8686

8787
**assertSessionHas(string $key, $value = null)**
8888

@@ -98,7 +98,7 @@ Asserts that the resulting session does not include the specified $key.
9898
.. literalinclude:: response/012.php
9999

100100
Header Assertions
101-
-----------------
101+
=================
102102

103103
**assertHeader(string $key, $value = null)**
104104

@@ -114,7 +114,7 @@ Asserts that a header name **$key** does not exist in the response.
114114
.. literalinclude:: response/014.php
115115

116116
Cookie Assertions
117-
-----------------
117+
=================
118118

119119
**assertCookie(string $key, $value = null, string $prefix = '')**
120120

@@ -137,7 +137,7 @@ in as the second parameter.
137137
.. literalinclude:: response/017.php
138138

139139
DOM Helpers
140-
-----------
140+
===========
141141

142142
The response you get back contains a number of helper methods to inspect the HTML output within the response. These
143143
are useful for using within assertions in your tests.
@@ -169,7 +169,7 @@ Finally, you can check if a checkbox exists and is checked with the **seeCheckbo
169169
.. literalinclude:: response/023.php
170170

171171
DOM Assertions
172-
--------------
172+
==============
173173

174174
You can perform tests to see if specific elements/text/etc exist with the body of the response with the following
175175
assertions.
@@ -213,7 +213,7 @@ Asserts that an input tag exists with the name and value:
213213
.. literalinclude:: response/029.php
214214

215215
Working With JSON
216-
-----------------
216+
=================
217217

218218
Responses will frequently contain JSON responses, especially when working with API methods. The following methods
219219
can help to test the responses.
@@ -241,7 +241,7 @@ Asserts that $fragment is found within the JSON response. It does not need to ma
241241
Similar to **assertJSONFragment()**, but checks the entire JSON response to ensure exact matches.
242242

243243
Working With XML
244-
----------------
244+
================
245245

246246
**getXML()**
247247

0 commit comments

Comments
 (0)