summaryrefslogtreecommitdiffstats
path: root/tests/lib/db.php
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2013-06-10 10:17:47 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2013-06-10 10:17:47 +0200
commitb6f8d2b8595b3db9e1304694869946a4105d26d0 (patch)
treed3d33e62c5e7ceaa2ecc811ce72332a4859f239a /tests/lib/db.php
parent73fb722a9e34dccc428bbf38adf40657ac98c94e (diff)
downloadnextcloud-server-b6f8d2b8595b3db9e1304694869946a4105d26d0.tar.gz
nextcloud-server-b6f8d2b8595b3db9e1304694869946a4105d26d0.zip
raise failed tests from first commit to size @medium
Diffstat (limited to 'tests/lib/db.php')
-rw-r--r--tests/lib/db.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/lib/db.php b/tests/lib/db.php
index 440f3fb6bfd..924236604c6 100644
--- a/tests/lib/db.php
+++ b/tests/lib/db.php
@@ -51,6 +51,9 @@ class Test_DB extends PHPUnit_Framework_TestCase {
$this->assertFalse($row);
}
+ /**
+ * @medium
+ */
public function testNOW() {
$query = OC_DB::prepare('INSERT INTO *PREFIX*'.$this->table2.' (`fullname`,`uri`) VALUES (NOW(),?)');
$result = $query->execute(array('uri_2'));