File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
src/Translator/tests/Kernel Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \UX \Translator \Tests \Kernel ;
13
13
14
+ use Symfony \Component \DependencyInjection \Loader \Configurator \ContainerConfigurator ;
15
+ use Symfony \UX \TwigComponent \Tests \Fixtures \Component \ComponentB ;
16
+
14
17
/**
15
18
* @author Hugo Alliaume <hugo@alliau.me>
16
19
*
@@ -28,6 +31,17 @@ public function getLogDir(): string
28
31
return $ this ->createTmpDir ('logs ' );
29
32
}
30
33
34
+ protected function configureContainer (ContainerConfigurator $ c ): void
35
+ {
36
+ $ c ->extension ('framework ' , [
37
+ 'secret ' => 'S3CRET ' ,
38
+ 'test ' => true ,
39
+ 'router ' => ['utf8 ' => true ],
40
+ 'secrets ' => false ,
41
+ 'http_method_override ' => false ,
42
+ ]);
43
+ }
44
+
31
45
private function createTmpDir (string $ type ): string
32
46
{
33
47
$ dir = sys_get_temp_dir ().'/translator_bundle/ ' .uniqid ($ type .'_ ' , true );
You can’t perform that action at this time.
0 commit comments