@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | { |
14 | 14 | $app = new Application(); |
15 | 15 | |
16 | - $app->register(new YamlConfigurationServiceProvider(__DIR__ . self::CONFIG_FILE)); |
|
16 | + $app->register(new YamlConfigurationServiceProvider(__DIR__.self::CONFIG_FILE)); |
|
17 | 17 | |
18 | 18 | $this->assertEquals($app['config']['db']['pass'], '123123'); |
19 | 19 | $this->assertEquals($app['config']['facebook']['debug'], true); |
@@ -24,18 +24,18 @@ 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 | - $app->register(new YamlConfigurationServiceProvider(__DIR__ . self::CONFIG_FILE, ['cache_dir' => self::CACHE_PATH])); |
|
29 | + $app->register(new YamlConfigurationServiceProvider(__DIR__.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 | |
38 | - $app->register(new YamlConfigurationServiceProvider(__DIR__ . self::CONFIG_FILE, ['cache_dir' => self::CACHE_PATH])); |
|
38 | + $app->register(new YamlConfigurationServiceProvider(__DIR__.self::CONFIG_FILE, ['cache_dir' => self::CACHE_PATH])); |
|
39 | 39 | |
40 | 40 | $this->assertEquals($app['config']['db']['pass'], '123123'); |
41 | 41 | } |