mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
numRows doesn't work with Oracle
This commit is contained in:
parent
b980987e32
commit
769212a9a0
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ class Test_DB extends PHPUnit_Framework_TestCase {
|
|||
$query = OC_DB::prepare('SELECT * FROM `*PREFIX*'.$this->table3.'`');
|
||||
$result = $query->execute();
|
||||
$this->assertTrue((bool)$result);
|
||||
$this->assertEquals('4', $result->numRows());
|
||||
$this->assertEquals('4', count($result->fetchAll()));
|
||||
}
|
||||
|
||||
public function testinsertIfNotExistDontOverwrite() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue