friendica-addons/dav/SabreDAV/tests/Sabre/CalDAV/Backend/PDOSqliteTest.php

22 lines
447 B
PHP

<?php
require_once 'Sabre/CalDAV/Backend/AbstractPDOTest.php';
class Sabre_CalDAV_Backend_PDOSQLiteTest extends Sabre_CalDAV_Backend_AbstractPDOTest {
function setup() {
if (!SABRE_HASSQLITE) $this->markTestSkipped('SQLite driver is not available');
$this->pdo = Sabre_CalDAV_TestUtil::getSQLiteDB();
}
function teardown() {
$this->pdo = null;
unlink(SABRE_TEMPDIR . '/testdb.sqlite');
}
}