diff --git a/features/backend/project_activity_resources/activity.feature b/features/backend/project_activity_resources/activity.feature index 6c2f856bc..cf81cef31 100644 --- a/features/backend/project_activity_resources/activity.feature +++ b/features/backend/project_activity_resources/activity.feature @@ -8,6 +8,7 @@ Feature: Testing activity And the response charset is "UTF-8" And the type is "object" And the "definition" property type is "array" + And the "properties" property type is "array" And that "tas_title" is set to "Task 1" @@ -18,7 +19,7 @@ Feature: Testing activity Then the response status code should be 200 And the response charset is "UTF-8" And the type is "object" - And the response not has a "definition" property + And the response has not a "definition" property @3: TEST FOR GET DEFINITION ACTIVITY /--------------------------------------------------------- @@ -28,7 +29,7 @@ Feature: Testing activity Then the response status code should be 200 And the response charset is "UTF-8" And the type is "object" - And the response not has a "properties" property + And the response has not a "properties" property @4: TEST FOR PUT DEFINITION ACTIVITY /--------------------------------------------------------- diff --git a/features/bootstrap/RestContext.php b/features/bootstrap/RestContext.php index 258e204b8..7d988ae20 100644 --- a/features/bootstrap/RestContext.php +++ b/features/bootstrap/RestContext.php @@ -699,12 +699,12 @@ class RestContext extends BehatContext } /** - * @Given /^the response not has a "([^"]*)" property$/ - * @Given /^the response not has an "([^"]*)" property$/ - * @Given /^the response not has a property called "([^"]*)"$/ - * @Given /^the response not has an property called "([^"]*)"$/ + * @Given /^the response has not a "([^"]*)" property$/ + * @Given /^the response has not an "([^"]*)" property$/ + * @Given /^the response has not a property called "([^"]*)"$/ + * @Given /^the response has not an property called "([^"]*)"$/ */ - public function theResponseNotHasAProperty($propertyName) + public function theResponseHasNotAProperty($propertyName) { $data = $this->_data;