Merged in wnestor/processmaker (pull request #1058)

Modificacion a los features case note, web entry, cases list y export/import project
This commit is contained in:
Fernando Ontiveros
2014-10-24 14:22:37 -04:00
4 changed files with 7 additions and 7 deletions

View File

@@ -18,7 +18,7 @@ Scenario: create a new case note for specified case (Negative Tests)
"""
And I request "cases/6441974235335ced24785c4035070430/note"
Then the response status code should be 400
And the response status message should have the following text "You do not have permission to cases notes"
And the response status message should have the following text "You do not have permission to access cases notes"
#case 124

View File

@@ -489,8 +489,8 @@ Scenario Outline: Get paging of list Paused
Then the response status code should be <http_code>
And the response charset is "UTF-8"
And the content type is "application/json"
And the type is "array"
And the response has <records> records
And the type is "object"
And the response has <records> records in property "data"
Examples:
@@ -734,4 +734,4 @@ Scenario Outline: Get order for date
| test_description | date_from | date_to | records |
| Filter date = 2014-03-01 | 2014-03-01 | 2014-03-31 | 7 |
| Filter date = 2014-03-15 | 2014-03-15 | 2014-04-01 | 30 |
| Filter date = 2014-03-15 | 2014-03-15 | 2014-04-01 | 30 |

View File

@@ -318,8 +318,8 @@ Scenario Outline: Get a list templates folder of process files manager
Examples:
| import_option | prj_uid_number | prj_uid | records |
| create | 1 | 601816709536cfeae7d7cd9079578104 | 0 |
| create | 2 | 1455892245368ebeb11c1a5001393784 | 1 |
| overwrite | 3 | 1455892245368ebeb11c1a5001393784 | 1 |
| create | 2 | 1455892245368ebeb11c1a5001393784 | 2 |
| overwrite | 3 | 1455892245368ebeb11c1a5001393784 | 2 |
| disable | 4 | 1455892245368ebeb11c1a5001393784 | 1 |
| keep | 5 | 1455892245368ebeb11c1a5001393784 | 1 |

View File

@@ -396,7 +396,7 @@ class WebEntry
$template->assign("dynaformUid", $dynaFormUid);
$template->assign("taskUid", $taskUid);
$template->assign("wsUser", $usrUsername);
$template->assign("wsPass", Bootstrap::getPasswordHashType() . ':' . $usrPassword);
$template->assign("wsPass", \Bootstrap::getPasswordHashType() . ':' . $usrPassword);
$template->assign("wsRoundRobin", $wsRoundRobin);
if ($webEntryInputDocumentAccess == 0) {