[Pkg-owncloud-commits] [php-sabredav] 20/275: Unittests are passing.

David Prévot taffit at moszumanska.debian.org
Thu Sep 25 14:55:46 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository php-sabredav.

commit 2193b333e29b000f5f3471d58fb7b311a966183c
Author: Evert Pot <evert at rooftopsolutions.nl>
Date:   Tue Sep 17 21:23:36 2013 +0100

    Unittests are passing.
---
 examples/sql/mysql.calendars.sql            | 2 +-
 lib/Sabre/CalDAV/Schedule/Inbox.php         | 9 ++++++---
 tests/Sabre/CalDAV/Backend/PDOMySQLTest.php | 2 +-
 3 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/examples/sql/mysql.calendars.sql b/examples/sql/mysql.calendars.sql
index 8be8380..53bb1b9 100755
--- a/examples/sql/mysql.calendars.sql
+++ b/examples/sql/mysql.calendars.sql
@@ -59,5 +59,5 @@ CREATE TABLE schedulingmessages (
     uri VARCHAR(200),
     lastmodified INT(11) UNSIGNED,
     etag VARCHAR(32),
-    size INT(11) UNSIGNED NOT NULL,
+    size INT(11) UNSIGNED NOT NULL
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
diff --git a/lib/Sabre/CalDAV/Schedule/Inbox.php b/lib/Sabre/CalDAV/Schedule/Inbox.php
index 5290d83..f7490ca 100755
--- a/lib/Sabre/CalDAV/Schedule/Inbox.php
+++ b/lib/Sabre/CalDAV/Schedule/Inbox.php
@@ -1,9 +1,12 @@
 <?php
 
 namespace Sabre\CalDAV\Schedule;
-use Sabre\DAV;
-use Sabre\CalDAV;
-use Sabre\DAVACL;
+
+use
+    Sabre\DAV,
+    Sabre\CalDAV,
+    Sabre\DAVACL,
+    Sabre\CalDAV\Backend;
 
 /**
  * The CalDAV scheduling inbox 
diff --git a/tests/Sabre/CalDAV/Backend/PDOMySQLTest.php b/tests/Sabre/CalDAV/Backend/PDOMySQLTest.php
index 4f755ec..4fd0e01 100644
--- a/tests/Sabre/CalDAV/Backend/PDOMySQLTest.php
+++ b/tests/Sabre/CalDAV/Backend/PDOMySQLTest.php
@@ -14,7 +14,7 @@ class PDOMySQLTest extends AbstractPDOTest {
         $pdo = \Sabre\TestUtil::getMySQLDB();
         if (!$pdo) $this->markTestSkipped('Could not connect to mysql database');
 
-        $pdo->query('DROP TABLE IF EXISTS calendarobjects, calendars, calendarchanges, calendarsubscriptions');
+        $pdo->query('DROP TABLE IF EXISTS calendarobjects, calendars, calendarchanges, calendarsubscriptions, schedulingmessages');
 
         $queries = explode(
             ';',

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git



More information about the Pkg-owncloud-commits mailing list