aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_versions/tests
diff options
context:
space:
mode:
authorVictor Dubiniuk <victor.dubiniuk@gmail.com>2015-09-09 18:37:33 +0300
committerVictor Dubiniuk <victor.dubiniuk@gmail.com>2015-09-15 17:08:54 +0300
commitf46b434a122377596f7861a75fc50106ea514e8e (patch)
treec49e322cc49f237eb1a769f6fa8cd432fdb6e8d7 /apps/files_versions/tests
parentc3e055549e79b59de19fac46d949f55225998f32 (diff)
downloadnextcloud-server-f46b434a122377596f7861a75fc50106ea514e8e.tar.gz
nextcloud-server-f46b434a122377596f7861a75fc50106ea514e8e.zip
Namespacing, reusing
Diffstat (limited to 'apps/files_versions/tests')
-rw-r--r--apps/files_versions/tests/expiration.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/files_versions/tests/expiration.php b/apps/files_versions/tests/expiration.php
index fd5e022f689..54024b85b78 100644
--- a/apps/files_versions/tests/expiration.php
+++ b/apps/files_versions/tests/expiration.php
@@ -19,9 +19,11 @@
*
*/
-namespace OCA\Files_Versions;
+namespace OCA\Files_Versions\Tests;
-class Expiration_Test extends \PHPUnit_Framework_TestCase {
+use \OCA\Files_Versions\Expiration;
+
+class Expiration_Test extends \Test\TestCase {
const SECONDS_PER_DAY = 86400; //60*60*24
public function expirationData(){