diff --git a/features/backend/application_cases/case_note/negative_tests_case_note.feature b/features/backend/application_cases/case_note/negative_tests_case_note.feature index b8655d20a..bcfafd103 100644 --- a/features/backend/application_cases/case_note/negative_tests_case_note.feature +++ b/features/backend/application_cases/case_note/negative_tests_case_note.feature @@ -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 \ No newline at end of file diff --git a/features/backend/application_cases/cases_lists_1-6/main_tests_cases_lists_1_6.feature b/features/backend/application_cases/cases_lists_1-6/main_tests_cases_lists_1_6.feature index be9544fb2..a9444d0f9 100644 --- a/features/backend/application_cases/cases_lists_1-6/main_tests_cases_lists_1_6.feature +++ b/features/backend/application_cases/cases_lists_1-6/main_tests_cases_lists_1_6.feature @@ -489,8 +489,8 @@ Scenario Outline: Get paging of list Paused Then the response status code should be And the response charset is "UTF-8" And the content type is "application/json" - And the type is "array" - And the response has records + And the type is "object" + And the response has 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 | \ No newline at end of file + | Filter date = 2014-03-15 | 2014-03-15 | 2014-04-01 | 30 | diff --git a/workflow/engine/src/ProcessMaker/BusinessModel/WebEntry.php b/workflow/engine/src/ProcessMaker/BusinessModel/WebEntry.php index ba972ce26..a9dca90a7 100644 --- a/workflow/engine/src/ProcessMaker/BusinessModel/WebEntry.php +++ b/workflow/engine/src/ProcessMaker/BusinessModel/WebEntry.php @@ -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) {