]> git.mxchange.org Git - friendica-addons.git/blob - dav/SabreDAV/tests/Sabre/DAV/ClientMock.php
Merge branch 'master' of git://github.com/friendica/friendica-addons
[friendica-addons.git] / dav / SabreDAV / tests / Sabre / DAV / ClientMock.php
1 <?php
2
3 class Sabre_DAV_ClientMock extends Sabre_DAV_Client {
4
5     public $response;
6
7     public $url;
8     public $curlSettings;
9
10     protected function curlRequest($url, $curlSettings) {
11
12         $this->url = $url;
13         $this->curlSettings = $curlSettings;
14         return $this->response;
15
16     }
17
18     /**
19      * Just making this method public
20      *
21      * @param string $url
22      * @return string
23      */
24     public function getAbsoluteUrl($url) {
25
26         return parent::getAbsoluteUrl($url);
27
28     }
29
30 }