From be1baf76c7dc4df02854c268107cb1b184c3fe58 Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Tue, 14 Dec 2021 01:45:40 +0100 Subject: [PATCH] Updating docs to new default algo sha1 --- src/Codeception/Module/REST.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Codeception/Module/REST.php b/src/Codeception/Module/REST.php index 1c715f2..c7105fe 100644 --- a/src/Codeception/Module/REST.php +++ b/src/Codeception/Module/REST.php @@ -1557,17 +1557,17 @@ public function dontSeeXmlResponseIncludes($xml): void /** * Checks if the hash of a binary response is exactly the same as provided. - * Parameter can be passed as any hash string supported by hash(), with an - * optional second parameter to specify the hash type, which defaults to md5. + * Parameter can be passed as any hash string supported by `hash()`, with an + * optional second parameter to specify the hash type, which defaults to sha1. * - * Example: Using md5 hash key + * Example: Using sha1 hash key * * ```php * seeBinaryResponseEquals("8c90748342f19b195b9c6b4eff742ded"); + * $I->seeBinaryResponseEquals("df589122eac0f6a7bd8795436e692e3675cadc3b"); * ``` * - * Example: Using md5 for a file contents + * Example: Using sha1 for a file contents * * ```php *