@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | use Twig_Environment; |
10 | 10 | use VojtaSvoboda\TwigExtensions\Classes\TimeDiffTranslator; |
11 | 11 | |
12 | -require_once __DIR__ . '/../vendor/autoload.php'; |
|
12 | +require_once __DIR__.'/../vendor/autoload.php'; |
|
13 | 13 | |
14 | 14 | class PluginTest extends PluginTestCase |
15 | 15 | { |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | $twig = $this->getTwig(); |
117 | 117 | |
118 | 118 | $now = Carbon::now()->subMinute(); |
119 | - $template = "{{ '" . $now->format('Y-m-d H:i:s') . "' | time_diff }}"; |
|
119 | + $template = "{{ '".$now->format('Y-m-d H:i:s')."' | time_diff }}"; |
|
120 | 120 | |
121 | 121 | // this test fails at TravisCI and I don't know why |
122 | 122 | $twigTemplate = $twig->createTemplate($template); |
@@ -316,7 +316,7 @@ discard block |
||
316 | 316 | $key = 'app.custom.key'; |
317 | 317 | $value = 'test value'; |
318 | 318 | Config::set($key, $value); |
319 | - $template = "{{ config('" . $key . "') }}"; |
|
319 | + $template = "{{ config('".$key."') }}"; |
|
320 | 320 | |
321 | 321 | $twigTemplate = $twig->createTemplate($template); |
322 | 322 | $this->assertEquals($twigTemplate->render([]), $value); |