diff options
-rw-r--r-- | tests/lib/db.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/db.php b/tests/lib/db.php index e73b30e2138..c2eb38dae83 100644 --- a/tests/lib/db.php +++ b/tests/lib/db.php @@ -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() { |