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

22 lines
447 B
PHP
Raw Normal View History

2012-06-03 18:19:28 +00:00
<?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');
}
}