diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-06-11 01:52:10 -0700 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-06-11 01:52:10 -0700 |
commit | 74b1f7d448f2d1f73817b7c8508db687d39856c7 (patch) | |
tree | b23d31861cad3a158630b717686f638e75f9c8c2 /tests/lib/db.php | |
parent | 4f0f537b422015fb5573d3b50c3d0a7137a1384d (diff) | |
parent | c70a0f791ded08cb0c8c4a0e131c328d36cbec33 (diff) | |
download | nextcloud-server-74b1f7d448f2d1f73817b7c8508db687d39856c7.tar.gz nextcloud-server-74b1f7d448f2d1f73817b7c8508db687d39856c7.zip |
Merge pull request #3646 from owncloud/introduce_phpunit_timeouts
add timeouts 3/30/90 to phpunit tests
Diffstat (limited to 'tests/lib/db.php')
-rw-r--r-- | tests/lib/db.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/lib/db.php b/tests/lib/db.php index 7b2a5e309f0..3c38acb558b 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')); |