friendica-addons/dav/SabreDAV/tests/Sabre/DAV/Locks/Backend/FSTest.php
2012-06-03 18:19:28 +00:00

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.
}
}