| Conditions | 1 |
| Paths | 1 |
| Total Lines | 24 |
| Code Lines | 18 |
| Lines | 24 |
| Ratio | 100 % |
| Changes | 4 | ||
| Bugs | 0 | Features | 2 |
| 1 | <?php |
||
| 23 | View Code Duplication | public function testGetCommand() |
|
| 24 | { |
||
| 25 | $configuration = $this->getConfigurationSet(); |
||
| 26 | $step = new StepPush( |
||
| 27 | $configuration, |
||
| 28 | 'my_personal_application-unstable', |
||
| 29 | 'blue', |
||
| 30 | true, |
||
| 31 | true, |
||
| 32 | "php app/console doctrine:mongodb:fixtures:load unstable" |
||
| 33 | ); |
||
| 34 | |||
| 35 | $this->assertEquals( |
||
| 36 | array( |
||
| 37 | '/usr/bin/cf', |
||
| 38 | 'push', |
||
| 39 | 'my_personal_application-unstable-blue', |
||
| 40 | '--no-route', |
||
| 41 | '-c', |
||
| 42 | 'php app/console doctrine:mongodb:fixtures:load unstable' |
||
| 43 | ), |
||
| 44 | $step->getCommand() |
||
| 45 | ); |
||
| 46 | } |
||
| 47 | |||
| 79 |