Were added the right input data.
This commit is contained in:
@@ -14,7 +14,7 @@ Feature: Calendar
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
And the type is "array"
|
||||
And the response has 1 records
|
||||
And the response has 2 records
|
||||
|
||||
|
||||
# POST /api/1.0/{workspace}/calendar
|
||||
@@ -121,4 +121,4 @@ Feature: Calendar
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
And the type is "array"
|
||||
And the response has 1 records
|
||||
And the response has 2 records
|
||||
@@ -14,7 +14,7 @@ Feature: Calendar Main Tests
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
And the type is "array"
|
||||
And the response has 1 records
|
||||
And the response has 2 records
|
||||
|
||||
|
||||
# GET /api/1.0/{workspace}/calendar/<cal_uid>
|
||||
@@ -239,7 +239,7 @@ Feature: Calendar Main Tests
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
And the type is "array"
|
||||
And the response has 8 records
|
||||
And the response has 9 records
|
||||
|
||||
|
||||
# DELETE /api/1.0/{workspace}/calendar
|
||||
@@ -268,4 +268,4 @@ Feature: Calendar Main Tests
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
And the type is "array"
|
||||
And the response has 1 records
|
||||
And the response has 2 records
|
||||
@@ -182,4 +182,4 @@ Feature: Calendar Negative Tests
|
||||
Given that I want to delete a "Calendar"
|
||||
And I request "calendar/14606161052f50839307899033145440"
|
||||
Then the response status code should be 400
|
||||
And the response status message should have the following text "does not exist"
|
||||
And the response status message should have the following text "cannot be deleted"
|
||||
@@ -16,7 +16,7 @@ Feature: Process Category
|
||||
And the response charset is "UTF-8"
|
||||
And the content type is "application/json"
|
||||
And the type is "array"
|
||||
And the response has 0 records
|
||||
And the response has 1 records
|
||||
|
||||
|
||||
# POST /api/1.0/{workspace}/project/category
|
||||
@@ -44,7 +44,7 @@ Feature: Process Category
|
||||
And the response charset is "UTF-8"
|
||||
And the content type is "application/json"
|
||||
And the type is "array"
|
||||
And the response has 1 records
|
||||
And the response has 2 records
|
||||
|
||||
|
||||
# PUT /api/1.0/{workspace}/project/categories
|
||||
@@ -93,4 +93,4 @@ Feature: Process Category
|
||||
And the response charset is "UTF-8"
|
||||
And the content type is "application/json"
|
||||
And the type is "array"
|
||||
And the response has 0 records
|
||||
And the response has 1 records
|
||||
@@ -16,7 +16,7 @@ Feature: Process Category Main Test
|
||||
And the response charset is "UTF-8"
|
||||
And the content type is "application/json"
|
||||
And the type is "array"
|
||||
And the response has 0 records
|
||||
And the response has 1 records
|
||||
|
||||
|
||||
# POST /api/1.0/{workspace}/project/category
|
||||
@@ -54,7 +54,7 @@ Feature: Process Category Main Test
|
||||
And the response charset is "UTF-8"
|
||||
And the content type is "application/json"
|
||||
And the type is "array"
|
||||
And the response has 7 records
|
||||
And the response has 8 records
|
||||
|
||||
|
||||
# POST /api/1.0/{workspace}/project/category
|
||||
@@ -156,4 +156,4 @@ Feature: Process Category Main Test
|
||||
And the response charset is "UTF-8"
|
||||
And the content type is "application/json"
|
||||
And the type is "array"
|
||||
And the response has 0 records
|
||||
And the response has 1 records
|
||||
@@ -30,4 +30,4 @@ Feature: Process Category Negative Tests
|
||||
Given that I want to delete a "Category"
|
||||
And I request "project/category/4177095085330818c324501061677193"
|
||||
Then the response status code should be 400
|
||||
And the response status message should have the following text "does not exist"
|
||||
And the response status message should have the following text "cannot be deleted"
|
||||
Reference in New Issue
Block a user