mirror of
https://github.com/nextcloud/server.git
synced 2024-07-30 08:15:57 +02:00
Doctrine only returns false
This commit is contained in:
parent
eb90784074
commit
b980987e32
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user