AudioDidact\User::generateRandomCode
returns a dictionary in the form of ["code"=random, "expiration"=24hours from now]
Signature
private function generateRandomCode()
Returns
- array
Test Coverage
Information
- Coverage: 1/1 Lines (100%)
- Tests: 3
- Passed: 3 (100%)
Tests
- [ PASSED ] — UserTest::testVerificationCode
- [ PASSED ] — UserTest::testSignUp
- [ PASSED ] — UserTest::testSignUpDuplicate