aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/dav/tests/Sabre/CalDAV/Backend/PDOSqliteTest.php
blob: c50f06986489f6f48d90a15ed9c2ff46773ba01e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php

namespace Sabre\CalDAV\Backend;

use Sabre\CalDAV;

require_once 'Sabre/CalDAV/Backend/AbstractPDOTest.php';

class PDOSQLiteTest extends AbstractPDOTest {

    function setup() {

        if (!SABRE_HASSQLITE) $this->markTestSkipped('SQLite driver is not available');
        $this->pdo = CalDAV\TestUtil::getSQLiteDB();

    }

    function teardown() {

        $this->pdo = null;
        unlink(SABRE_TEMPDIR . '/testdb.sqlite');

    }

}