@@ 31-42 (lines=12) @@ | ||
28 | ||
29 | private $factory; |
|
30 | ||
31 | protected function setUp() |
|
32 | { |
|
33 | $this->setConfigProviders([ModuleConfig::class, TestConfig::class]); |
|
34 | $this->setContainerConfigs([ |
|
35 | \Jolicht\MarkdownCms\ContainerConfig::class, |
|
36 | ExpressiveAuraConfig::class, |
|
37 | TestContainerConfig::class |
|
38 | ]); |
|
39 | $this->setUpContainer(); |
|
40 | ||
41 | $this->factory = new ParseContentExecutorFactory(); |
|
42 | } |
|
43 | ||
44 | public function testContainerHasService() |
|
45 | { |
@@ 40-51 (lines=12) @@ | ||
37 | ||
38 | private $containerConfig; |
|
39 | ||
40 | protected function setUp() |
|
41 | { |
|
42 | $this->setConfigProviders([ModuleConfig::class, TestConfig::class]); |
|
43 | $this->setContainerConfigs([ |
|
44 | ContainerConfig::class, |
|
45 | ExpressiveAuraConfig::class, |
|
46 | TestContainerConfig::class |
|
47 | ]); |
|
48 | $this->setUpContainer(); |
|
49 | ||
50 | $this->containerConfig = new ContainerConfig(['testconfig']); |
|
51 | } |
|
52 | ||
53 | public function testGetConfig() |
|
54 | { |