Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
ee5aea69
Verified
Commit
ee5aea69
authored
5 months ago
by
Juraj Nemec
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#2453785
by adammalone: Password hashing tests do not cover all options
parent
59d2480a
No related branches found
No related tags found
No related merge requests found
Pipeline
#356955
canceled
5 months ago
Stage: 🗜️ Test
Pipeline: drupal
#356965
Pipeline: drupal
#356964
Pipeline: drupal
#356963
+7
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/simpletest/tests/password.test
+1
-0
1 addition, 0 deletions
modules/simpletest/tests/password.test
with
1 addition
and
0 deletions
modules/simpletest/tests/password.test
+
1
−
0
View file @
ee5aea69
...
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment