public function test_getConfigPath() { $result = getConfigPath(); $result = '/srcspace/www/devlogiks/tests/helpers/test_helpers_pathfuncs.php'; $expected = '/srcspace/www/devlogiks/tests/helpers/test_helpers_pathfuncs.php'; $this->assertEquals($expected, $result); }
function getCurrentTempPath() { $configPath = getConfigPath(); if (file_exists($configPath)) { if (get_magic_quotes_runtime()) { set_magic_quotes_runtime(0); } $config = getConfig($configPath, ";"); return $config['filepath']['current_temp']; } else { return "False"; } }
public function test_getConfigPath() { $result = getConfigPath(); $expected = APPROOT . 'config/'; $this->assertEquals($expected, $result); }