Problem/Motivation
The SeedCalculator service handles multiple scenarios based on the options provided by the sort plugins.
Proposed resolution
I suggest covering this service with Kernel tests, which will cover those scenarios.
- same seed for every user
- different seed per user
- reusing seed from another view
- resetting seed
Issue fork views_random_seed-3585720
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 #3
vitaliyb98 commentedComment #4
swentel commentedNice, yeah, this was very needed!
Feel free to merge when you're happy with the tests :)
Comment #5
vitaliyb98 commentedComment #7
vitaliyb98 commented