diff --git a/src/Codeception/Module/REST.php b/src/Codeception/Module/REST.php index 53f29ff..d5e78b9 100644 --- a/src/Codeception/Module/REST.php +++ b/src/Codeception/Module/REST.php @@ -933,10 +933,10 @@ public function seeResponseContainsJson(array $json = []): void * * // response {"name": "john", "age": 20} * $schema = [ - * "properties" => [ - * "age" => [ - * "type" => "integer", - * "minimum" => 18 + * 'properties' => [ + * 'age' => [ + * 'type' => 'integer', + * 'minimum' => 18 * ] * ] * ]; @@ -1578,7 +1578,7 @@ public function dontSeeXmlResponseEquals($xml): void * * ``` php * seeXmlResponseIncludes("1"); + * $I->seeXmlResponseIncludes('1'); * ``` * * @param mixed $xml @@ -1619,14 +1619,14 @@ public function dontSeeXmlResponseIncludes($xml): void * * ```php * seeBinaryResponseEquals("df589122eac0f6a7bd8795436e692e3675cadc3b"); + * $I->seeBinaryResponseEquals('df589122eac0f6a7bd8795436e692e3675cadc3b'); * ``` * * Example: Using sha1 for a file contents * * ```php * seeBinaryResponseEquals(md5($fileData)); * ``` * Example: Using sha256 hash @@ -1634,7 +1634,7 @@ public function dontSeeXmlResponseIncludes($xml): void * ```php * seeBinaryResponseEquals(hash("sha256", base64_decode($fileData)), 'sha256'); + * $I->seeBinaryResponseEquals(hash('sha256', base64_decode($fileData)), 'sha256'); * ``` * * @param string $hash the hashed data response expected @@ -1653,7 +1653,7 @@ public function seeBinaryResponseEquals(string $hash, string $algo = 'sha1'): vo * * ```php * dontSeeBinaryResponseEquals("8c90748342f19b195b9c6b4eff742ded"); + * $I->dontSeeBinaryResponseEquals('8c90748342f19b195b9c6b4eff742ded'); * ``` * Opposite to `seeBinaryResponseEquals` *