summaryrefslogtreecommitdiffstats
path: root/tests/lib/db.php
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-11-04 12:33:32 +0100
committerThomas Tanghus <thomas@tanghus.net>2012-11-04 12:33:32 +0100
commit88b91a7304f2de998f71a674f4f62e85f5b83e54 (patch)
treee01f3e6357c7d3e044f814c144751cf175a4729e /tests/lib/db.php
parente6a7bba0950688d73f52cd622bdf6ec62dff9281 (diff)
downloadnextcloud-server-88b91a7304f2de998f71a674f4f62e85f5b83e54.tar.gz
nextcloud-server-88b91a7304f2de998f71a674f4f62e85f5b83e54.zip
Swap expected and actual.
Diffstat (limited to 'tests/lib/db.php')
-rw-r--r--tests/lib/db.php2
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() {