We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb40453 commit d629cd4Copy full SHA for d629cd4
1 file changed
tests/Controllers/RegisterTest.php
@@ -82,6 +82,16 @@ public function testRegisterActionSuccess(): void
82
$this->assertTrue($user->active);
83
}
84
85
+ public function testRegisterActionSuccessWithNoEmailLogin(): void
86
+ {
87
+ /** @var Auth $config */
88
+ $config = config('Auth');
89
+ // Use `username` for login
90
+ $config->validFields = ['username'];
91
+
92
+ $this->testRegisterActionSuccess();
93
+ }
94
95
public function testRegisterTooLongPasswordDefault(): void
96
{
97
$result = $this->withSession()->post('/register', [
0 commit comments