mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-23 18:23:46 +00:00
30 lines
591 B
PHP
30 lines
591 B
PHP
|
<?php
|
||
|
|
||
|
require_once 'Sabre/TestUtil.php';
|
||
|
|
||
|
class Sabre_DAV_Locks_Backend_FSTest extends Sabre_DAV_Locks_Backend_AbstractTest {
|
||
|
|
||
|
function getBackend() {
|
||
|
|
||
|
Sabre_TestUtil::clearTempDir();
|
||
|
mkdir(SABRE_TEMPDIR . '/locks');
|
||
|
$backend = new Sabre_DAV_Locks_Backend_FS(SABRE_TEMPDIR . '/locks/');
|
||
|
return $backend;
|
||
|
|
||
|
}
|
||
|
|
||
|
function tearDown() {
|
||
|
|
||
|
Sabre_TestUtil::clearTempDir();
|
||
|
|
||
|
}
|
||
|
|
||
|
function testGetLocksChildren() {
|
||
|
|
||
|
// We're skipping this test. This doesn't work, and it will
|
||
|
// never. The class is deprecated anyway.
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|