diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-06-10 10:17:47 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-06-10 10:17:47 +0200 |
commit | b6f8d2b8595b3db9e1304694869946a4105d26d0 (patch) | |
tree | d3d33e62c5e7ceaa2ecc811ce72332a4859f239a | |
parent | 73fb722a9e34dccc428bbf38adf40657ac98c94e (diff) | |
download | nextcloud-server-b6f8d2b8595b3db9e1304694869946a4105d26d0.tar.gz nextcloud-server-b6f8d2b8595b3db9e1304694869946a4105d26d0.zip |
raise failed tests from first commit to size @medium
-rw-r--r-- | apps/files_encryption/tests/stream.php | 3 | ||||
-rw-r--r-- | tests/lib/db.php | 3 | ||||
-rw-r--r-- | tests/lib/files/cache/watcher.php | 3 | ||||
-rw-r--r-- | tests/lib/geo.php | 4 |
4 files changed, 13 insertions, 0 deletions
diff --git a/apps/files_encryption/tests/stream.php b/apps/files_encryption/tests/stream.php index 3d978767542..50ac41e4536 100644 --- a/apps/files_encryption/tests/stream.php +++ b/apps/files_encryption/tests/stream.php @@ -140,6 +140,9 @@ class Test_Encryption_Stream extends \PHPUnit_Framework_TestCase { $view->unlink($filename); } + /** + * @medium + */ function testStreamSetTimeout() { $filename = '/tmp-' . time(); $view = new \OC\Files\View('/' . $this->userId . '/files'); 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')); diff --git a/tests/lib/files/cache/watcher.php b/tests/lib/files/cache/watcher.php index d9301a903cb..749b1ab75a3 100644 --- a/tests/lib/files/cache/watcher.php +++ b/tests/lib/files/cache/watcher.php @@ -29,6 +29,9 @@ class Watcher extends \PHPUnit_Framework_TestCase { } } + /** + * @medium + */ function testWatcher() { $storage = $this->getTestStorage(); $cache = $storage->getCache(); diff --git a/tests/lib/geo.php b/tests/lib/geo.php index 82e61608687..2c3611c092e 100644 --- a/tests/lib/geo.php +++ b/tests/lib/geo.php @@ -7,6 +7,10 @@ */ class Test_Geo extends PHPUnit_Framework_TestCase { + + /** + * @medium + */ function testTimezone() { $result = OC_Geo::timezone(3, 3); $expected = 'Africa/Porto-Novo'; |