It was changed the http status code from 200 to 201 in order to import a process correctly.

This commit is contained in:
veronicaaruquipa
2014-12-09 17:34:10 -04:00
parent 5e9c22d6cb
commit 5680452059

View File

@@ -152,7 +152,7 @@ Scenario: Delete a Project created previously in this script
Scenario Outline: Import a process
Given POST upload a project file "<project_file>" to "project/import?option=<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 "<project_file>" to "project/import?option=<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"