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