Skip to content
Snippets Groups Projects
Commit 769212a9 authored by Bart Visscher's avatar Bart Visscher
Browse files

numRows doesn't work with Oracle

parent b980987e
Branches
No related tags found
No related merge requests found
......@@ -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() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment