Repository navigation
Use default user factory password in specs - #10351
Merged
Merged
Conversation
In ManageIQ/manageiq#23996 password complexity rules are being added, which will fail validation when simple passwords like 'x' or 'smartvm' are passed into user factories. Using the default password ('dummy') avoids failing the password complexity check while still satisfying the test requirements. Part of ManageIQ/manageiq#23996
3 tasks done
Member
|
Checked commit Fryguy@98c2cc1 with ruby 3.3.12, rubocop 1.91.0, haml-lint 0.78.0, and yamllint 1.37.1 spec/requests/auth_spec.rb
spec/requests/restful_redirect_spec.rb
|
Member
|
@Fryguy, I'm wondering when the core PR is merged, if this will cause the user form Cypress tests to fail as it uses password |
Member
Author
|
Yes those will fail - let me update those too. |
Member
Author
|
@GilbertCherrie I double checked and those passwords are considered strong, so no changed needed. |
Member
|
@Fryguy sounds good, this should be fine to merge then |
Member
👍 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In ManageIQ/manageiq#23996 password complexity rules are being added, which will fail validation when simple passwords like 'x' or 'smartvm' are passed into user factories.
Using the default password ('dummy') avoids failing the password complexity check while still satisfying the test requirements.
Part of ManageIQ/manageiq#23996. This can be merged independent of the parent PR.
@jrafanie Please review.