mirror of
https://github.com/nextcloud/server.git
synced 2026-04-20 22:00:39 -04:00
Doctrine only returns false
This commit is contained in:
parent
eb90784074
commit
b980987e32
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue