friendica-addons/dav/SabreDAV/tests/Sabre/DAV/ClientMock.php

31 lines
508 B
PHP
Raw Normal View History

2012-06-03 20:19:28 +02:00
<?php
class Sabre_DAV_ClientMock extends Sabre_DAV_Client {
public $response;
public $url;
public $curlSettings;
protected function curlRequest($url, $curlSettings) {
$this->url = $url;
$this->curlSettings = $curlSettings;
return $this->response;
}
/**
* Just making this method public
*
* @param string $url
* @return string
*/
public function getAbsoluteUrl($url) {
return parent::getAbsoluteUrl($url);
}
}