[Pkg-owncloud-commits] [owncloud] 11/111: fix DB schema test - no default value

David Prévot taffit at moszumanska.debian.org
Wed Nov 20 21:38:35 UTC 2013


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

taffit pushed a commit to branch master
in repository owncloud.

commit 9c1c8d57f0ba8fb0d65c65141b8ffdf118bcc012
Author: Morris Jobke <morris.jobke at gmail.com>
Date:   Tue Nov 12 11:29:09 2013 +0100

    fix DB schema test - no default value
---
 tests/lib/db/mdb2schemareader.php |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/lib/db/mdb2schemareader.php b/tests/lib/db/mdb2schemareader.php
index b9b2411..57cafa7 100644
--- a/tests/lib/db/mdb2schemareader.php
+++ b/tests/lib/db/mdb2schemareader.php
@@ -57,13 +57,13 @@ class MDB2SchemaReader extends \PHPUnit_Framework_TestCase {
 
 		$this->assertNull($table->getColumn('clobfield')->getLength());
 		$this->assertFalse($table->getColumn('clobfield')->getAutoincrement());
-		$this->assertSame('', $table->getColumn('clobfield')->getDefault());
+		$this->assertNull($table->getColumn('clobfield')->getDefault());
 		$this->assertTrue($table->getColumn('clobfield')->getNotnull());
 		$this->assertInstanceOf('Doctrine\DBAL\Types\TextType', $table->getColumn('clobfield')->getType());
 
 		$this->assertNull($table->getColumn('booleanfield')->getLength());
 		$this->assertFalse($table->getColumn('booleanfield')->getAutoincrement());
-		$this->assertFalse($table->getColumn('booleanfield')->getDefault());
+		$this->assertNull($table->getColumn('booleanfield')->getDefault());
 		$this->assertInstanceOf('Doctrine\DBAL\Types\BooleanType', $table->getColumn('booleanfield')->getType());
 
 		$this->assertTrue($table->getColumn('booleanfield_true')->getDefault());

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



More information about the Pkg-owncloud-commits mailing list