[Pkg-owncloud-commits] [php-sabredav] 19/28: Fixed unittest for schema change

David Prévot taffit at moszumanska.debian.org
Sun Mar 13 17:59:09 UTC 2016


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

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

commit 5e6aa04faec522299be4a31a64d3f83ceda48eb0
Author: Evert Pot <me at evertpot.com>
Date:   Sat Mar 12 18:24:15 2016 -0500

    Fixed unittest for schema change
---
 tests/Sabre/DAV/PropertyStorage/Backend/PDOMysqlTest.php  | 2 +-
 tests/Sabre/DAV/PropertyStorage/Backend/PDOSqliteTest.php | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/Sabre/DAV/PropertyStorage/Backend/PDOMysqlTest.php b/tests/Sabre/DAV/PropertyStorage/Backend/PDOMysqlTest.php
index ff6db27..a1954eb 100644
--- a/tests/Sabre/DAV/PropertyStorage/Backend/PDOMysqlTest.php
+++ b/tests/Sabre/DAV/PropertyStorage/Backend/PDOMysqlTest.php
@@ -21,7 +21,7 @@ class PDOMySqlTest extends AbstractPDOTest {
             $pdo->exec($sql);
 
         }
-        $pdo->exec('INSERT INTO propertystorage (path, name, value) VALUES ("dir", "{DAV:}displayname", "Directory")');
+        $pdo->exec('INSERT INTO propertystorage (path, name, value, valuetype) VALUES ("dir", "{DAV:}displayname", "Directory", 1)');
 
         return $pdo;
 
diff --git a/tests/Sabre/DAV/PropertyStorage/Backend/PDOSqliteTest.php b/tests/Sabre/DAV/PropertyStorage/Backend/PDOSqliteTest.php
index a48cfeb..931e91f 100644
--- a/tests/Sabre/DAV/PropertyStorage/Backend/PDOSqliteTest.php
+++ b/tests/Sabre/DAV/PropertyStorage/Backend/PDOSqliteTest.php
@@ -21,7 +21,7 @@ class PDOSqliteTest extends AbstractPDOTest {
             $pdo->exec($sql);
 
         }
-        $pdo->exec('INSERT INTO propertystorage (path, name, value) VALUES ("dir", "{DAV:}displayname", "Directory")');
+        $pdo->exec('INSERT INTO propertystorage (path, name, value, valuetype) VALUES ("dir", "{DAV:}displayname", "Directory", 1)');
 
         return $pdo;
 

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



More information about the Pkg-owncloud-commits mailing list