From ee5aea69d4201e57d9a492fd5fba00e995922c04 Mon Sep 17 00:00:00 2001
From: Juraj Nemec <jnemec@activit.sk>
Date: Tue, 3 Dec 2024 00:47:30 +0100
Subject: [PATCH] Issue #2453785 by adammalone: Password hashing tests do not
 cover all options

---
 modules/simpletest/tests/password.test | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/simpletest/tests/password.test b/modules/simpletest/tests/password.test
index 7105f3b7add0..489b191fad7f 100644
--- a/modules/simpletest/tests/password.test
+++ b/modules/simpletest/tests/password.test
@@ -73,6 +73,7 @@ class PasswordHashingTest extends DrupalWebTestCase {
     $result = user_hash_password($password);
     $this->assertFalse(empty($result), '510 byte long password is allowed.');
     $password .= 'xx';
+    $result = user_hash_password($password);
     $this->assertFalse(empty($result), '512 byte long password is allowed.');
     $password = str_repeat('€', 171);
     $result = user_hash_password($password);
-- 
GitLab