From d52bfc974c999b75a9e5975695a050d7c63d62cb Mon Sep 17 00:00:00 2001 From: veronicaaruquipa Date: Tue, 9 Dec 2014 15:39:39 -0400 Subject: [PATCH] Change the http status code inside features when a process is imported. --- .../main_tests_project_export_import.feature | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/features/backend/projects/project_export_import/main_tests_project_export_import.feature b/features/backend/projects/project_export_import/main_tests_project_export_import.feature index af0f471f3..374cf5678 100644 --- a/features/backend/projects/project_export_import/main_tests_project_export_import.feature +++ b/features/backend/projects/project_export_import/main_tests_project_export_import.feature @@ -152,7 +152,7 @@ Scenario: Delete a Project created previously in this script Scenario Outline: Import a process Given POST upload a project file "" to "project/import?option=&option_group=merge" - Then the response status code should be 201 + Then the response status code should be 200 And the response charset is "UTF-8" And the content type is "application/json" And the type is "object" @@ -426,7 +426,7 @@ Scenario: Get a list of projects Scenario Outline: Import a process Given POST upload a project file "" to "project/import?option=" - Then the response status code should be 201 + Then the response status code should be 200 And the response charset is "UTF-8" And the content type is "application/json" And the type is "object" @@ -455,7 +455,7 @@ Scenario: Delete a Project created previously in this script "Export process emp Scenario: Import a process "Export process empty" Given POST upload a project file "Export_process_empty.pmx" to "project/import?option=create" - Then the response status code should be 201 + Then the response status code should be 200 And the response charset is "UTF-8" And the content type is "application/json" And the type is "object"