@@ 34-43 (lines=10) @@ | ||
31 | { |
|
32 | use ContainerAwareTrait; |
|
33 | ||
34 | protected function setUp() |
|
35 | { |
|
36 | $this->setConfigProviders([ModuleConfig::class, TestConfig::class]); |
|
37 | $this->setContainerConfigs([ |
|
38 | ContainerConfig::class, |
|
39 | ExpressiveAuraConfig::class, |
|
40 | TestContainerConfig::class |
|
41 | ]); |
|
42 | $this->setUpContainer(); |
|
43 | } |
|
44 | ||
45 | public function testDefine() |
|
46 | { |
@@ 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 | { |