| Conditions | 1 |
| Paths | 1 |
| Total Lines | 25 |
| Code Lines | 19 |
| Lines | 25 |
| Ratio | 100 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 53 | View Code Duplication | public function testGetCommandStartFalse() |
|
| 54 | { |
||
| 55 | $configuration = $this->getConfigurationSet(); |
||
| 56 | $step = new StepPush( |
||
| 57 | $configuration, |
||
| 58 | 'my_personal_application-unstable', |
||
| 59 | 'blue', |
||
| 60 | false, |
||
| 61 | true, |
||
| 62 | "php app/console doctrine:mongodb:fixtures:load unstable" |
||
| 63 | ); |
||
| 64 | |||
| 65 | $this->assertEquals( |
||
| 66 | array( |
||
| 67 | '/usr/bin/cf', |
||
| 68 | 'push', |
||
| 69 | 'my_personal_application-unstable-blue', |
||
| 70 | '--no-start', |
||
| 71 | '--no-route', |
||
| 72 | '-c', |
||
| 73 | 'php app/console doctrine:mongodb:fixtures:load unstable' |
||
| 74 | ), |
||
| 75 | $step->getCommand() |
||
| 76 | ); |
||
| 77 | } |
||
| 78 | } |
||
| 79 |