diff options
Diffstat (limited to 'tests/ApplicationUtilsTest.php')
-rw-r--r-- | tests/ApplicationUtilsTest.php | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/tests/ApplicationUtilsTest.php b/tests/ApplicationUtilsTest.php index cf82b655..f92412ba 100644 --- a/tests/ApplicationUtilsTest.php +++ b/tests/ApplicationUtilsTest.php | |||
@@ -277,16 +277,16 @@ class ApplicationUtilsTest extends PHPUnit_Framework_TestCase | |||
277 | public function testCheckCurrentResourcePermissions() | 277 | public function testCheckCurrentResourcePermissions() |
278 | { | 278 | { |
279 | $conf = ConfigManager::getInstance(); | 279 | $conf = ConfigManager::getInstance(); |
280 | $conf->set('config.CACHEDIR', 'cache'); | 280 | $conf->set('path.thumbnails_cache', 'cache'); |
281 | $conf->set('config.CONFIG_FILE', 'data/config.php'); | 281 | $conf->set('path.config', 'data/config.php'); |
282 | $conf->set('config.DATADIR', 'data'); | 282 | $conf->set('path.data_dir', 'data'); |
283 | $conf->set('config.DATASTORE', 'data/datastore.php'); | 283 | $conf->set('path.datastore', 'data/datastore.php'); |
284 | $conf->set('config.IPBANS_FILENAME', 'data/ipbans.php'); | 284 | $conf->set('path.ban_file', 'data/ipbans.php'); |
285 | $conf->set('config.LOG_FILE', 'data/log.txt'); | 285 | $conf->set('path.log', 'data/log.txt'); |
286 | $conf->set('config.PAGECACHE', 'pagecache'); | 286 | $conf->set('path.page_cache', 'pagecache'); |
287 | $conf->set('config.RAINTPL_TMP', 'tmp'); | 287 | $conf->set('path.raintpl_tmp', 'tmp'); |
288 | $conf->set('config.RAINTPL_TPL', 'tpl'); | 288 | $conf->set('path.raintpl_tpl', 'tpl'); |
289 | $conf->set('config.UPDATECHECK_FILENAME', 'data/lastupdatecheck.txt'); | 289 | $conf->set('path.update_check', 'data/lastupdatecheck.txt'); |
290 | 290 | ||
291 | $this->assertEquals( | 291 | $this->assertEquals( |
292 | array(), | 292 | array(), |
@@ -300,16 +300,16 @@ class ApplicationUtilsTest extends PHPUnit_Framework_TestCase | |||
300 | public function testCheckCurrentResourcePermissionsErrors() | 300 | public function testCheckCurrentResourcePermissionsErrors() |
301 | { | 301 | { |
302 | $conf = ConfigManager::getInstance(); | 302 | $conf = ConfigManager::getInstance(); |
303 | $conf->set('config.CACHEDIR', 'null/cache'); | 303 | $conf->set('path.thumbnails_cache', 'null/cache'); |
304 | $conf->set('config.CONFIG_FILE', 'null/data/config.php'); | 304 | $conf->set('path.config', 'null/data/config.php'); |
305 | $conf->set('config.DATADIR', 'null/data'); | 305 | $conf->set('path.data_dir', 'null/data'); |
306 | $conf->set('config.DATASTORE', 'null/data/store.php'); | 306 | $conf->set('path.datastore', 'null/data/store.php'); |
307 | $conf->set('config.IPBANS_FILENAME', 'null/data/ipbans.php'); | 307 | $conf->set('path.ban_file', 'null/data/ipbans.php'); |
308 | $conf->set('config.LOG_FILE', 'null/data/log.txt'); | 308 | $conf->set('path.log', 'null/data/log.txt'); |
309 | $conf->set('config.PAGECACHE', 'null/pagecache'); | 309 | $conf->set('path.page_cache', 'null/pagecache'); |
310 | $conf->set('config.RAINTPL_TMP', 'null/tmp'); | 310 | $conf->set('path.raintpl_tmp', 'null/tmp'); |
311 | $conf->set('config.RAINTPL_TPL', 'null/tpl'); | 311 | $conf->set('path.raintpl_tpl', 'null/tpl'); |
312 | $conf->set('config.UPDATECHECK_FILENAME', 'null/data/lastupdatecheck.txt'); | 312 | $conf->set('path.update_check', 'null/data/lastupdatecheck.txt'); |
313 | $this->assertEquals( | 313 | $this->assertEquals( |
314 | array( | 314 | array( |
315 | '"null/tpl" directory is not readable', | 315 | '"null/tpl" directory is not readable', |