public function SessionTest::testSetBasicAuth in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/tests/SessionTest.php \Behat\Mink\Tests\SessionTest::testSetBasicAuth()
File
- vendor/behat/ mink/ tests/ SessionTest.php, line 105 
Class
Namespace
Behat\Mink\TestsCode
public function testSetBasicAuth() {
  $this->driver
    ->expects($this
    ->once())
    ->method('setBasicAuth')
    ->with('user', 'pass');
  $this->session
    ->setBasicAuth('user', 'pass');
}