summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-06-21 12:04:52 +0200
committerBart Visscher <bartv@thisnet.nl>2013-06-24 22:38:19 +0200
commitb980987e32270fc416eefc87f7e163763cab2776 (patch)
treed6a29cc75f934051efbdd3eb22e7032f290f3603 /tests
parenteb9078407437f275687e31c9bd7486f469ffa978 (diff)
downloadnextcloud-server-b980987e32270fc416eefc87f7e163763cab2776.tar.gz
nextcloud-server-b980987e32270fc416eefc87f7e163763cab2776.zip
Doctrine only returns false
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/db.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/db.php b/tests/lib/db.php
index afbdb413c3d..60331a23295 100644
--- a/tests/lib/db.php
+++ b/tests/lib/db.php
@@ -37,7 +37,7 @@ class Test_DB extends PHPUnit_Framework_TestCase {
$result = $query->execute(array('uri_1'));
$this->assertTrue((bool)$result);
$row = $result->fetchRow();
- $this->assertFalse((bool)$row); //PDO returns false, MDB2 returns null
+ $this->assertFalse($row);
$query = OC_DB::prepare('INSERT INTO `*PREFIX*'.$this->table2.'` (`fullname`,`uri`) VALUES (?,?)');
$result = $query->execute(array('fullname test', 'uri_1'));
$this->assertTrue((bool)$result);