@@ -9,14 +9,14 @@ class ManifestTest extends TestCase
99 /** @test */
1010 public function generates_controllers_imports_given_a_path ()
1111 {
12- $ manifest = (new Manifest )->generateFrom (join (DIRECTORY_SEPARATOR , [
12+ $ manifest = (new Manifest )->generateFrom (implode (DIRECTORY_SEPARATOR , [
1313 __DIR__ ,
1414 'stubs ' ,
1515 'controllers ' ,
1616 ]).DIRECTORY_SEPARATOR )->join (PHP_EOL );
1717
1818 $ this ->assertStringContainsString (
19- <<<JS
19+ <<<'JS'
2020
2121 import HelloController from './hello_controller'
2222 application.register('hello', HelloController)
@@ -25,7 +25,7 @@ public function generates_controllers_imports_given_a_path()
2525 );
2626
2727 $ this ->assertStringContainsString (
28- <<<JS
28+ <<<'JS'
2929
3030 import Nested__DeepController from './nested/deep_controller'
3131 application.register('nested--deep', Nested__DeepController)
@@ -34,7 +34,7 @@ public function generates_controllers_imports_given_a_path()
3434 );
3535
3636 $ this ->assertStringContainsString (
37- <<<JS
37+ <<<'JS'
3838
3939 import CoffeeController from './coffee_controller'
4040 application.register('coffee', CoffeeController)
@@ -43,7 +43,7 @@ public function generates_controllers_imports_given_a_path()
4343 );
4444
4545 $ this ->assertStringContainsString (
46- <<<JS
46+ <<<'JS'
4747
4848 import TypeScriptController from './type_script_controller'
4949 application.register('type-script', TypeScriptController)
@@ -52,7 +52,7 @@ public function generates_controllers_imports_given_a_path()
5252 );
5353
5454 $ this ->assertStringNotContainsString (
55- <<<JS
55+ <<<'JS'
5656
5757 import Index from './index'
5858 application.register('index', Index)
0 commit comments