misc_pterodactyl-panel/tests/Unit/Services
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
..
Allocations Add more front-end controllers, language file cleanup 2017-09-03 16:32:52 -05:00
Api Update random ID method to use str_random and not random_bytes 2017-09-13 23:07:02 -05:00
Database Add more front-end controllers, language file cleanup 2017-09-03 16:32:52 -05:00
Helpers Apply fixes from StyleCI (#607) 2017-08-27 14:55:25 -05:00
Nodes Update random ID method to use str_random and not random_bytes 2017-09-13 23:07:02 -05:00
Packs Add more front-end controllers, language file cleanup 2017-09-03 16:32:52 -05:00
Servers Update random ID method to use str_random and not random_bytes 2017-09-13 23:07:02 -05:00
Services Add more front-end controllers, language file cleanup 2017-09-03 16:32:52 -05:00
Subusers Update random ID method to use str_random and not random_bytes 2017-09-13 23:07:02 -05:00
Users Apply fixes from StyleCI (#609) 2017-08-30 21:14:20 -05:00
LocationServiceTest.php Refactor (again) 2017-07-09 12:29:18 -05:00