aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/ApplicationUtilsTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ApplicationUtilsTest.php')
-rw-r--r--tests/ApplicationUtilsTest.php40
1 files changed, 20 insertions, 20 deletions
diff --git a/tests/ApplicationUtilsTest.php b/tests/ApplicationUtilsTest.php
index 3da72639..c37a94f0 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 = new ConfigManager(''); 279 $conf = new ConfigManager('');
280 $conf->set('path.thumbnails_cache', 'cache'); 280 $conf->set('resource.thumbnails_cache', 'cache');
281 $conf->set('path.config', 'data/config.php'); 281 $conf->set('resource.config', 'data/config.php');
282 $conf->set('path.data_dir', 'data'); 282 $conf->set('resource.data_dir', 'data');
283 $conf->set('path.datastore', 'data/datastore.php'); 283 $conf->set('resource.datastore', 'data/datastore.php');
284 $conf->set('path.ban_file', 'data/ipbans.php'); 284 $conf->set('resource.ban_file', 'data/ipbans.php');
285 $conf->set('path.log', 'data/log.txt'); 285 $conf->set('resource.log', 'data/log.txt');
286 $conf->set('path.page_cache', 'pagecache'); 286 $conf->set('resource.page_cache', 'pagecache');
287 $conf->set('path.raintpl_tmp', 'tmp'); 287 $conf->set('resource.raintpl_tmp', 'tmp');
288 $conf->set('path.raintpl_tpl', 'tpl'); 288 $conf->set('resource.raintpl_tpl', 'tpl');
289 $conf->set('path.update_check', 'data/lastupdatecheck.txt'); 289 $conf->set('resource.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 = new ConfigManager(''); 302 $conf = new ConfigManager('');
303 $conf->set('path.thumbnails_cache', 'null/cache'); 303 $conf->set('resource.thumbnails_cache', 'null/cache');
304 $conf->set('path.config', 'null/data/config.php'); 304 $conf->set('resource.config', 'null/data/config.php');
305 $conf->set('path.data_dir', 'null/data'); 305 $conf->set('resource.data_dir', 'null/data');
306 $conf->set('path.datastore', 'null/data/store.php'); 306 $conf->set('resource.datastore', 'null/data/store.php');
307 $conf->set('path.ban_file', 'null/data/ipbans.php'); 307 $conf->set('resource.ban_file', 'null/data/ipbans.php');
308 $conf->set('path.log', 'null/data/log.txt'); 308 $conf->set('resource.log', 'null/data/log.txt');
309 $conf->set('path.page_cache', 'null/pagecache'); 309 $conf->set('resource.page_cache', 'null/pagecache');
310 $conf->set('path.raintpl_tmp', 'null/tmp'); 310 $conf->set('resource.raintpl_tmp', 'null/tmp');
311 $conf->set('path.raintpl_tpl', 'null/tpl'); 311 $conf->set('resource.raintpl_tpl', 'null/tpl');
312 $conf->set('path.update_check', 'null/data/lastupdatecheck.txt'); 312 $conf->set('resource.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',