Currently, there are no tests in the module. We should create some tests to check the base features.
I guess steps should be smth like:
- create a regular user with permission to create new users
- create a new user text field
- add configs - the text field should be unique
- submit the user register form with the text field = test
- the user should be created without any errors
- submit the user register form with the text field = test
- the user should have an error message
- add a 'unique_field_perm_bypass' permission to the user
- submit the user register form with the text field = test
- the user should be created without any errors

p.s. .gitlab-ci.yml file should be updated to execute tests.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

astonvictor created an issue. See original summary.

astonvictor’s picture

Issue summary: View changes
artem_sylchuk’s picture

Assigned: Unassigned » artem_sylchuk

artem_sylchuk’s picture

Assigned: artem_sylchuk » Unassigned
Status: Active » Needs review
astonvictor’s picture

Status: Needs review » Needs work

There are some warnings in the pipeline

astonvictor’s picture

Status: Needs work » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.