Implement Request::getBasicCredentials for http basic auth testing · contributte/codeception@527d066 · GitHub
Skip to content

Commit 527d066

Browse files
roman-vohnik-freeloiof3l1x
authored andcommitted
Implement Request::getBasicCredentials for http basic auth testing
`getBasicCredentials` method is implemented in Nette\Http\Request, but it's not part of IRequest interface, so it was missing in this Codeception\Http\Request implementation. With this change we can use `$this->tester->amHttpAuthenticated()`.
1 parent 20cc8b1 commit 527d066

2 files changed

Lines changed: 48 additions & 0 deletions

File tree

‎src/Http/Request.php‎

Lines changed: 18 additions & 0 deletions
Lines changed: 30 additions & 0 deletions

0 commit comments

Comments
 (0)