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.
Issue fork unique_field-3570249
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
Comment #2
astonvictor commentedComment #3
artem_sylchukComment #5
artem_sylchukComment #6
astonvictor commentedThere are some warnings in the pipeline
Comment #8
astonvictor commented