misc_pterodactyl-panel/tests/Unit/Services/Servers
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
..
ContainerRebuildServiceTest.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
DetailsModificationServiceTest.php Update random ID method to use str_random and not random_bytes 2017-09-13 23:07:02 -05:00
EnvironmentServiceTest.php Finish unit tests for all server services 2017-07-22 20:15:01 -05:00
ReinstallServerServiceTest.php Refactor obscure service names to be clearer 2017-08-27 15:10:51 -05:00
ServerCreationServiceTest.php Update random ID method to use str_random and not random_bytes 2017-09-13 23:07:02 -05:00
ServerDeletionServiceTest.php Refactor obscure service names to be clearer 2017-08-27 15:10:51 -05:00
SuspensionServiceTest.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
UsernameGenerationServiceTest.php Update random ID method to use str_random and not random_bytes 2017-09-13 23:07:02 -05:00
VariableValidatorServiceTest.php Apply fixes from StyleCI (#577) 2017-08-05 17:26:30 -05:00