[yast/yast-users] 8bab49: Fix documentation
Branch: refs/heads/user-to-validate Home: https://github.com/yast/yast-users Commit: 8bab49ae51192315211b6d8453d7a5dbac2ff407 https://github.com/yast/yast-users/commit/8bab49ae51192315211b6d8453d7a5dbac... Author: David Díaz González <dgonzalez@suse.de> Date: 2021-05-12 (Wed, 12 May 2021) Changed paths: M src/lib/y2users/inst_users_dialog_helper.rb Log Message: ----------- Fix documentation Commit: ae517491d9aeb7dd0655039eb6304623819460b4 https://github.com/yast/yast-users/commit/ae517491d9aeb7dd0655039eb630462381... Author: David Díaz González <dgonzalez@suse.de> Date: 2021-05-12 (Wed, 12 May 2021) Changed paths: M src/lib/users/dialogs/inst_user_first.rb M src/lib/users/widgets.rb M test/widgets_test.rb Log Message: ----------- Do not use the attached user for validations Because using the attached user could end up with changes that the user eventually discarded (e.g., the user changes their mind about using the same password for the root user) Commit: 12d6f7f784148b9ea9c5cb6a142b6c864ed980d7 https://github.com/yast/yast-users/commit/12d6f7f784148b9ea9c5cb6a142b6c864e... Author: David Díaz González <dgonzalez@suse.de> Date: 2021-05-12 (Wed, 12 May 2021) Changed paths: M test/widgets_test.rb Log Message: ----------- Improve unit test By mocking the call to Y2Users::User.new instead of the `user_to_validate` method, which helps to avoid coverage decrease too. Compare: https://github.com/yast/yast-users/compare/9194d226cbed...12d6f7f78414
participants (1)
-
David Díaz