LaravelDaily/Test-Laravel-Eloquent-Basics

Task 7. Update or New Record. and Task 4. Get a Single Record or Create a New Record.

gartservice opened this issue · 0 comments

The tests have passed, but when I looked at some of the pull requests submitted by developers, I noticed that they were setting unencrypted passwords for users. Therefore, I think we need to add the following line at the end of these tests to ensure that all passwords are properly encrypted.

 $this->assertTrue(\Auth::attempt(['email' => 'john2@john.com','password'=>'password']));