| @@ 222-232 (lines=11) @@ | ||
| 219 | * @depends testOpportunityWorkflowAsLost |
|
| 220 | * @return string |
|
| 221 | */ |
|
| 222 | public function testOpportunityWorkflowReopen($funnelId) |
|
| 223 | { |
|
| 224 | $login = $this->login(); |
|
| 225 | /** @var SalesFunnels $login */ |
|
| 226 | $login->openSalesFunnels('OroCRM\Bundle\SalesBundle') |
|
| 227 | ->filterBy('Sales', $funnelId, 'equals') |
|
| 228 | ->open(array($funnelId)) |
|
| 229 | ->assertTitle('Sales Process #' . $funnelId . ' - Sales Processes - Sales') |
|
| 230 | ->reopen() |
|
| 231 | ->checkStep('New Opportunity'); |
|
| 232 | } |
|
| 233 | } |
|
| 234 | ||
| @@ 114-124 (lines=11) @@ | ||
| 111 | * @depends testLeadWorkflowAsWon |
|
| 112 | * @return string |
|
| 113 | */ |
|
| 114 | public function testLeadWorkflowReopen($funnelId) |
|
| 115 | { |
|
| 116 | /** @var SalesFunnels $login */ |
|
| 117 | $login = $this->login(); |
|
| 118 | $login->openSalesFunnels('OroCRM\Bundle\SalesBundle') |
|
| 119 | ->filterBy('Sales', $funnelId, 'equals') |
|
| 120 | ->open(array($funnelId)) |
|
| 121 | ->assertTitle('Sales Process #' . $funnelId . ' - Sales Processes - Sales') |
|
| 122 | ->reopen() |
|
| 123 | ->checkStep('New Opportunity'); |
|
| 124 | } |
|
| 125 | ||
| 126 | public function testLeadWorkflowReactivate() |
|
| 127 | { |
|