This repository has been archived on 2025-05-09. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
Astral-nook/tests/Unit/Services/Api
Dane Everitt a8c4d6afdb
Update random ID method to use str_random and not random_bytes
The use of random_bytes in combination with bin2hex was producing a lot of duplicate keys when tested in batches of 10k (anywhere from 2 to 6). The use of str_random yielded no duplicates even at scales of 100k keys that were 8 characters.
2017-09-13 23:07:02 -05:00
..
KeyCreationServiceTest.php Update random ID method to use str_random and not random_bytes 2017-09-13 23:07:02 -05:00
PermissionServiceTest.php Apply fixes from StyleCI (#577) 2017-08-05 17:26:30 -05:00