AudioDidact\User::addEmailVerificationCode
Generates a random code and adds it to the list of email verification codes
Signature
public function addEmailVerificationCode()
Returns
- array
Test Coverage
Information
- Coverage: 3/3 Lines (100%)
- Tests: 3
- Passed: 3 (100%)
Tests
- [ PASSED ] — UserTest::testVerificationCode
- [ PASSED ] — UserTest::testSignUp
- [ PASSED ] — UserTest::testSignUpDuplicate