Merged in darojas/processmaker (pull request #617)

Se quita la validacion para evn_name en BpmnWorkflow. Este campo no sera requerido. Cambios en Behat
This commit is contained in:
Erik Amaru Ortiz
2014-07-22 17:08:59 -04:00
2 changed files with 0 additions and 4 deletions

View File

@@ -209,5 +209,4 @@ Scenario Outline: Create new Projects (Negative Tests)
| Field required prj_name | | Prueba | Task # 1 | TASK | End # 1 | EMPTY | 400 | prj_name |
| Field required act_name | Test negative project 2 | Prueba 1 | | TASK | End # 1 | EMPTY | 400 | act_name |
| Field required act_type | Test negative project 3 | Prueba 2 | Task # 1 | | End # 1 | EMPTY | 400 | act_type |
| Field required evn_name | Test negative project 4 | Prueba 3 | Task # 1 | TASK | | EMPTY | 400 | evn_name |
| Field required evn_marker | Test negative project 5 | Prueba 4 | Task # 1 | TASK | End # 1 | | 400 | evn_marker |

View File

@@ -566,9 +566,6 @@ class BpmnWorkflow extends Project\Bpmn
}
$events = $projectData['diagrams']['0']['events'];
foreach ($events as $value) {
if (empty($value['evn_name'])) {
throw new \Exception("For event: {$value['evn_uid']} `evn_name` is required but missing.");
}
if (empty($value['evn_type'])) {
throw new \Exception("For event: {$value['evn_uid']} `evn_type` is required but missing.");
}