|
@@ 99-106 (lines=8) @@
|
| 96 |
|
$this->assertSame('default', $this->container->getParameter('liip_monitor.default_group')); |
| 97 |
|
} |
| 98 |
|
|
| 99 |
|
public function testDefaultGroupParameter() |
| 100 |
|
{ |
| 101 |
|
$this->load(['checks' => ['php_extensions' => ['foo']]]); |
| 102 |
|
$this->compile(); |
| 103 |
|
|
| 104 |
|
$this->assertTrue($this->container->hasParameter('liip_monitor.default_group')); |
| 105 |
|
$this->assertSame('default', $this->container->getParameter('liip_monitor.default_group')); |
| 106 |
|
} |
| 107 |
|
|
| 108 |
|
public function testDefaultGroupParameterCustom() |
| 109 |
|
{ |
|
@@ 108-115 (lines=8) @@
|
| 105 |
|
$this->assertSame('default', $this->container->getParameter('liip_monitor.default_group')); |
| 106 |
|
} |
| 107 |
|
|
| 108 |
|
public function testDefaultGroupParameterCustom() |
| 109 |
|
{ |
| 110 |
|
$this->load(['checks' => ['php_extensions' => ['foo']], 'default_group' => 'foo_bar']); |
| 111 |
|
$this->compile(); |
| 112 |
|
|
| 113 |
|
$this->assertTrue($this->container->hasParameter('liip_monitor.default_group')); |
| 114 |
|
$this->assertSame('foo_bar', $this->container->getParameter('liip_monitor.default_group')); |
| 115 |
|
} |
| 116 |
|
|
| 117 |
|
public function testEnableController() |
| 118 |
|
{ |