| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 38 | public function testOnFunc() |
||
| 39 | { |
||
| 40 | putenv('DEPLOYER_LOCAL_WORKER=false'); |
||
| 41 | $this->dep('test'); |
||
| 42 | putenv('DEPLOYER_LOCAL_WORKER=true'); |
||
| 43 | |||
| 44 | $display = $this->tester->getDisplay(); |
||
| 45 | self::assertEquals(0, $this->tester->getStatusCode(), $display); |
||
| 46 | self::assertStringContainsString('[prod] foo = prod', $display); |
||
| 47 | self::assertStringContainsString('[beta] foo = beta', $display); |
||
| 48 | } |
||
| 50 |