From 6a8e3c0df3803f18649a579dbfe6484e52671995 Mon Sep 17 00:00:00 2001 From: Squidly Date: Fri, 1 Aug 2014 18:10:06 +0200 Subject: [PATCH] Adding defaults quota and policy table to phpunit --- phpunit/tests/_datasets/default-quota.yml | 65 +++++++++++++++++++++++ phpunit/tests/_datasets/policy.yml | 13 +++++ 2 files changed, 78 insertions(+) create mode 100644 phpunit/tests/_datasets/default-quota.yml create mode 100644 phpunit/tests/_datasets/policy.yml diff --git a/phpunit/tests/_datasets/default-quota.yml b/phpunit/tests/_datasets/default-quota.yml new file mode 100644 index 00000000..6b397eff --- /dev/null +++ b/phpunit/tests/_datasets/default-quota.yml @@ -0,0 +1,65 @@ +quotas: + - + uid : 2000 + name : cron + total : 0 + - + uid: 2000 + name: dom + total: 1 + - + uid: 2000 + name: ftp + total: 2 + - + uid: 2000 + name: mail + total: 10 + - + uid: 2000 + name: mysql + total: 1 + - + uid: 2000 + name: piwik + total: 0 + - + uid: 2000 + name: stats + total: 1 + - + uid : 2000 + name : web + total : 51200 + + uid : 2001 + name : cron + total : 0 + - + uid: 2001 + name: dom + total: 1 + - + uid: 2001 + name: ftp + total: 2 + - + uid: 2001 + name: mail + total: 10 + - + uid: 2001 + name: mysql + total: 1 + - + uid: 2001 + name: piwik + total: 0 + - + uid: 2001 + name: stats + total: 1 + - + uid : 2001 + name : web + total : 51200 diff --git a/phpunit/tests/_datasets/policy.yml b/phpunit/tests/_datasets/policy.yml new file mode 100644 index 00000000..dce794b6 --- /dev/null +++ b/phpunit/tests/_datasets/policy.yml @@ -0,0 +1,13 @@ +policy: + - + name : ftp + minsize : 0 + maxsize : 66 + classcount : 0 + allowlogin : 0 + - + name : mem + minsize : 0 + maxsize : 64 + classcount : 0 + allowlogin: 0