diff --git a/src/Context/FOSRestFormValidationContext.php b/src/Context/FOSRestFormValidationContext.php
index <HASH>..<HASH> 100644
--- a/src/Context/FOSRestFormValidationContext.php
+++ b/src/Context/FOSRestFormValidationContext.php
@@ -13,6 +13,7 @@ class FOSRestFormValidationContext extends RawApiContext
 {
     /**
      * @Then /^the JSON response should have the error "([^"]*)" at "([^"]*)"$/
+     * @Then /^the JSON response should have the error '([^']*)' at "([^"]*)"$/
      */
     public function theJSONResponseShouldHaveTheErrorAt(string $errorMessage, string $formChildFieldDescriptor)
     {
Added additional quote format for FOSRest JSON response check