@@ 70-77 (lines=8) @@ | ||
67 | $this->assertSame('default', $this->container->getParameter('liip_monitor.default_group')); |
|
68 | } |
|
69 | ||
70 | public function testDefaultGroupParameter() |
|
71 | { |
|
72 | $this->load(['checks' => ['php_extensions' => ['foo']]]); |
|
73 | $this->compile(); |
|
74 | ||
75 | $this->assertTrue($this->container->hasParameter('liip_monitor.default_group')); |
|
76 | $this->assertSame('default', $this->container->getParameter('liip_monitor.default_group')); |
|
77 | } |
|
78 | ||
79 | public function testDefaultGroupParameterCustom() |
|
80 | { |
|
@@ 79-86 (lines=8) @@ | ||
76 | $this->assertSame('default', $this->container->getParameter('liip_monitor.default_group')); |
|
77 | } |
|
78 | ||
79 | public function testDefaultGroupParameterCustom() |
|
80 | { |
|
81 | $this->load(['checks' => ['php_extensions' => ['foo']], 'default_group' => 'foo_bar']); |
|
82 | $this->compile(); |
|
83 | ||
84 | $this->assertTrue($this->container->hasParameter('liip_monitor.default_group')); |
|
85 | $this->assertSame('foo_bar', $this->container->getParameter('liip_monitor.default_group')); |
|
86 | } |
|
87 | ||
88 | public function testEnableController() |
|
89 | { |