friendica-addons/dav/SabreDAV/tests/Sabre/DAV/Locks/Backend/FileTest.php

23 lines
390 B
PHP
Raw Normal View History

2012-06-03 14:19:28 -04:00
<?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();
}
}