Skip to content

Commit 5c99bc2

Browse files
authored
update snippet formatting (Codeception#666)
1 parent 721e22a commit 5c99bc2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/APITesting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ Codeception uses this simple and lightweight definitions format which can be [ea
204204

205205
Responses are returned from `send*` methods:
206206

207-
```php<?php
207+
```php
208208
209209
$users = $I->sendGet('/users');
210210
@@ -215,7 +215,7 @@ $users = $I->grabResponse();
215215

216216
When you need to obtain a value from a response and use it in next requests you can use `grab*` methods. For instance, use `grabDataFromResponseByJsonPath` allows to query JSON for a value.
217217

218-
```php<?php
218+
```php
219219
list($id) = $I->grabDataFromResponseByJsonPath('$.id');
220220
$I->sendGet('/pet/' . $id);
221221
```

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy