Feature testing authentication with hidden property

前端 未结 0 1499
予麋鹿
予麋鹿 2021-01-11 18:00

How can I to test user authentication? My test:

public function successLogin()
    {
        $user = User::factory()->create([\'login\' => \'123\']);
           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题