Problem/Motivation
Follow-up for the kernel test with the random uids might be good yeah, just couldn't see why it was necessary and makes me wonder what I'm missing.
@catch in #3414557-10: Convert OptionsDynamicValuesValidationTest into a Kernel test
Steps to reproduce
Proposed resolution
- Search test codebase for rand( in relation to UIDs. Note that I searched the whole test codebase, not just the kernel testsuite as proposed by @catch.
- Make sure that results are absolutely intended to be random.
- If not, make them non-random, if so, leave a comment that the UIDs are intentionally random.
Merge request link
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3415769
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:
- 3415769-use-random-user
changes, plain diff MR !6236
Comments
Comment #2
spokjeComment #4
spokjeComment #5
spokjeComment #6
smustgrave commentedUsing phpstorm insepector searched for rand( and went through some of the findings and believe the changes make sense.
Comment #8
catchThis looks good to me too, thanks for adding the comments to the ones we actually need to keep.