]> git.mxchange.org Git - friendica-addons.git/blobdiff - dav/SabreDAV/tests/Sabre/CalDAV/Backend/PDOSqliteTest.php
Initial Release of the calendar plugin
[friendica-addons.git] / dav / SabreDAV / tests / Sabre / CalDAV / Backend / PDOSqliteTest.php
diff --git a/dav/SabreDAV/tests/Sabre/CalDAV/Backend/PDOSqliteTest.php b/dav/SabreDAV/tests/Sabre/CalDAV/Backend/PDOSqliteTest.php
new file mode 100644 (file)
index 0000000..8b7045d
--- /dev/null
@@ -0,0 +1,21 @@
+<?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');
+
+    }
+
+}