mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-14 16:02:53 +00:00
29 lines
591 B
PHP
29 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.
|
|
|
|
}
|
|
|
|
}
|