@@ -6,7 +6,7 @@ discard block |
||
6 | 6 | |
7 | 7 | class ConfigTest extends \PHPUnit_Framework_TestCase |
8 | 8 | { |
9 | - const CONFIG_FILE = __DIR__ . '/../res/config.yml'; |
|
9 | + const CONFIG_FILE = __DIR__.'/../res/config.yml'; |
|
10 | 10 | const CACHE_PATH = '/tmp/cache_config_123634f3d'; |
11 | 11 | |
12 | 12 | public function testConfig() |
@@ -24,14 +24,14 @@ discard block |
||
24 | 24 | { |
25 | 25 | $app = new Application(); |
26 | 26 | |
27 | - system("rm -rf " . escapeshellarg(self::CACHE_PATH)); |
|
27 | + system("rm -rf ".escapeshellarg(self::CACHE_PATH)); |
|
28 | 28 | |
29 | 29 | $app->register(new YamlConfigurationServiceProvider(self::CONFIG_FILE, ['cache_dir' => self::CACHE_PATH])); |
30 | 30 | |
31 | 31 | $this->assertEquals($app['config']['db']['pass'], '123123'); |
32 | 32 | |
33 | - $this->assertFileExists(self::CACHE_PATH . '/config.cache.php'); |
|
34 | - $this->assertFileExists(self::CACHE_PATH . '/config.cache.php.meta'); |
|
33 | + $this->assertFileExists(self::CACHE_PATH.'/config.cache.php'); |
|
34 | + $this->assertFileExists(self::CACHE_PATH.'/config.cache.php.meta'); |
|
35 | 35 | |
36 | 36 | $app = new Application(); |
37 | 37 |