aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/utils
diff options
context:
space:
mode:
Diffstat (limited to 'tests/utils')
-rw-r--r--tests/utils/config/configJson.json.php33
-rw-r--r--tests/utils/config/configUpdateDone.json.php4
-rw-r--r--tests/utils/config/configUpdater.php15
3 files changed, 22 insertions, 30 deletions
diff --git a/tests/utils/config/configJson.json.php b/tests/utils/config/configJson.json.php
index 71b59edd..6a841f8a 100644
--- a/tests/utils/config/configJson.json.php
+++ b/tests/utils/config/configJson.json.php
@@ -1,17 +1,28 @@
1<?php /* 1<?php /*
2{ 2{
3 "redirector":"lala", 3 "credentials": {
4 "login":"root", 4 "login":"root",
5 "hash":"hash", 5 "hash":"hash",
6 "salt":"salt", 6 "salt":"salt"
7 "timezone":"Europe\/Paris", 7 },
8 "disablesessionprotection":false, 8 "security": {
9 "privateLinkByDefault":true, 9 "session_protection_disabled":false
10 "title": "Shaarli", 10 },
11 "titleLink": "?", 11 "general": {
12 "timezone":"Europe\/Paris",
13 "default_private_linksheader_link":true,
14 "title": "Shaarli",
15 "header_link": "?"
16 },
17 "extras": {
18 "redirector":"lala"
19 },
12 "config": { 20 "config": {
13 "foo": "bar", 21 "foo": "bar"
14 "DATASTORE": "data\/datastore.php" 22 },
23 "path": {
24 "datastore": "tests\/utils\/config\/datastore.php",
25 "data_dir": "tests\/utils\/config"
15 }, 26 },
16 "plugins": { 27 "plugins": {
17 "WALLABAG_VERSION": 1 28 "WALLABAG_VERSION": 1
diff --git a/tests/utils/config/configUpdateDone.json.php b/tests/utils/config/configUpdateDone.json.php
deleted file mode 100644
index a4e460d1..00000000
--- a/tests/utils/config/configUpdateDone.json.php
+++ /dev/null
@@ -1,4 +0,0 @@
1<?php /*
2{
3 "login": "root"
4}
diff --git a/tests/utils/config/configUpdater.php b/tests/utils/config/configUpdater.php
deleted file mode 100644
index ee4a56b5..00000000
--- a/tests/utils/config/configUpdater.php
+++ /dev/null
@@ -1,15 +0,0 @@
1<?php
2$GLOBALS['login'] = 'login';
3$GLOBALS['hash'] = 'hash';
4$GLOBALS['salt'] = 'salt';
5$GLOBALS['timezone'] = 'Europe/Paris';
6$GLOBALS['title'] = 'title';
7$GLOBALS['titleLink'] = 'titleLink';
8$GLOBALS['redirector'] = '';
9$GLOBALS['disablesessionprotection'] = false;
10$GLOBALS['privateLinkByDefault'] = false;
11$GLOBALS['config']['DATADIR'] = 'tests/Updater';
12$GLOBALS['config']['PAGECACHE'] = 'sandbox/pagecache';
13$GLOBALS['config']['config1'] = 'config1data';
14$GLOBALS['config']['config2'] = 'config2data';
15$GLOBALS['plugins']['WALLABAG_VERSION'] = '2';