Utils.php 290 B

123456789101112131415
  1. <?php
  2. namespace tests;
  3. class Utils
  4. {
  5. public static function randomUserName()
  6. {
  7. return sprintf("it-%d-%d", mt_rand(), microtime(true));
  8. }
  9. public static function randomPassword()
  10. {
  11. return sprintf("it-password-%d-%d", mt_rand(), microtime(true));
  12. }
  13. }