Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
14 | public function testOnce() |
||
15 | { |
||
16 | $this->dep(self::RECIPE, 'test_once_per_node'); |
||
17 | |||
18 | $display = $this->tester->getDisplay(); |
||
19 | self::assertEquals(0, $this->tester->getStatusCode(), $display); |
||
20 | self::assertStringContainsString('alias: group_a_1 hostname: localhost', $display); |
||
21 | self::assertStringNotContainsString('alias: group_a_2 hostname: localhost', $display); |
||
22 | self::assertStringContainsString('alias: group_b_1 hostname: group_b_1', $display); |
||
23 | self::assertStringNotContainsString('alias: group_b_2 hostname: group_b_2', $display); |
||
24 | } |
||
26 |