From 56804520591ca0ed1086e01579c0ace601110049 Mon Sep 17 00:00:00 2001 From: veronicaaruquipa Date: Tue, 9 Dec 2014 17:34:10 -0400 Subject: [PATCH] It was changed the http status code from 200 to 201 in order to import a process correctly. --- .../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 374cf5678..af0f471f3 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 200 + Then the response status code should be 201 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 200 + Then the response status code should be 201 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 200 + Then the response status code should be 201 And the response charset is "UTF-8" And the content type is "application/json" And the type is "object"