Swap expected and actual.

This commit is contained in:
Thomas Tanghus 2012-11-04 12:33:32 +01:00
parent e6a7bba095
commit 88b91a7304
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ class Test_DB extends UnitTestCase {
$query = OC_DB::prepare('SELECT * FROM *PREFIX*'.$this->table3);
$result = $query->execute();
$this->assertTrue($result);
$this->assertEqual($result->numRows(), '4');
$this->assertEqual('4', $result->numRows());
}
public function testinsertIfNotExistDontOverwrite() {