Blame view

sources/3rdparty/sabre/dav/tests/Sabre/CalDAV/Backend/PDOSqliteTest.php 451 Bytes
6d9380f96   Cédric Dupont   Update sources OC...
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');
  
      }
  
  }