Skip to content

Commit 4640ed8

Browse files
committed
Merge pull request #1816 from martinqt/cookbook_test_authentication_fix
Add missing parameter
2 parents a03a6fd + fee09dd commit 4640ed8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/testing/http_authentication.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ as server variables to ``createClient()``::
1414

1515
You can also override it on a per request basis::
1616

17-
$client->request('DELETE', '/post/12', array(), array(
17+
$client->request('DELETE', '/post/12', array(), array(), array(
1818
'PHP_AUTH_USER' => 'username',
1919
'PHP_AUTH_PW' => 'pa$$word',
2020
));

0 commit comments

Comments
 (0)