lithium\tests\cases\net\http\ServiceTest::testDigestAuth PHP Метод

testDigestAuth() публичный Метод

public testDigestAuth ( )
    public function testDigestAuth()
    {
        $this->_testConfig += array('auth' => 'digest', 'username' => 'gwoo', 'password' => 'li3');
        $http = new Service($this->_testConfig);
        $response = $http->get('/http_auth/', array(), array('return' => 'response'));
        $this->assertEqual('success', $response->body());
    }