aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_versions/tests
diff options
context:
space:
mode:
authorVictor Dubiniuk <victor.dubiniuk@gmail.com>2015-08-20 18:32:41 +0300
committerVictor Dubiniuk <victor.dubiniuk@gmail.com>2015-09-15 17:08:54 +0300
commitc3e055549e79b59de19fac46d949f55225998f32 (patch)
tree8699878dbec738684e940e0e7a0d6565b94333b5 /apps/files_versions/tests
parentb95d1e668370c74d027330cdabe5e65e242ef18d (diff)
downloadnextcloud-server-c3e055549e79b59de19fac46d949f55225998f32.tar.gz
nextcloud-server-c3e055549e79b59de19fac46d949f55225998f32.zip
Improvements
Diffstat (limited to 'apps/files_versions/tests')
-rw-r--r--apps/files_versions/tests/expiration.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/files_versions/tests/expiration.php b/apps/files_versions/tests/expiration.php
index 44d911c74b4..fd5e022f689 100644
--- a/apps/files_versions/tests/expiration.php
+++ b/apps/files_versions/tests/expiration.php
@@ -111,13 +111,15 @@ class Expiration_Test extends \PHPUnit_Framework_TestCase {
public function configData(){
return [
[ 'disabled', null, null, null],
- [ 'auto', Expiration::DEFAULT_RETENTION_OBLIGATION, Expiration::NO_OBLIGATION, true ],
- [ 'auto,auto', Expiration::DEFAULT_RETENTION_OBLIGATION, Expiration::NO_OBLIGATION, true ],
- [ 'auto, auto', Expiration::DEFAULT_RETENTION_OBLIGATION, Expiration::NO_OBLIGATION, true ],
+ [ 'auto', Expiration::NO_OBLIGATION, Expiration::NO_OBLIGATION, true ],
+ [ 'auto,auto', Expiration::NO_OBLIGATION, Expiration::NO_OBLIGATION, true ],
+ [ 'auto, auto', Expiration::NO_OBLIGATION, Expiration::NO_OBLIGATION, true ],
[ 'auto, 3', Expiration::NO_OBLIGATION, 3, true ],
[ '5, auto', 5, Expiration::NO_OBLIGATION, true ],
[ '3, 5', 3, 5, false ],
[ '10, 3', 10, 10, false ],
+ [ 'g,a,r,b,a,g,e', Expiration::NO_OBLIGATION, Expiration::NO_OBLIGATION, true ],
+ [ '-3,8', Expiration::NO_OBLIGATION, Expiration::NO_OBLIGATION, true ]
];
}