mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-27 14:33:16 +00:00
23 lines
390 B
PHP
23 lines
390 B
PHP
|
<?php
|
||
|
|
||
|
require_once 'Sabre/TestUtil.php';
|
||
|
|
||
|
class Sabre_DAV_Locks_Backend_FileTest extends Sabre_DAV_Locks_Backend_AbstractTest {
|
||
|
|
||
|
function getBackend() {
|
||
|
|
||
|
Sabre_TestUtil::clearTempDir();
|
||
|
$backend = new Sabre_DAV_Locks_Backend_File(SABRE_TEMPDIR . '/lockdb');
|
||
|
return $backend;
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
function tearDown() {
|
||
|
|
||
|
Sabre_TestUtil::clearTempDir();
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|