From cf14db2ce868d25fe46bf0d304dfc579d90af80e Mon Sep 17 00:00:00 2001 From: Steve Porter Date: Thu, 8 Feb 2024 20:15:09 +0000 Subject: [PATCH] feat: add method to return auth password name in User model test This is required to be compatible with the rehashing password feature here https://github.com/laravel/framework/pull/48665 --- tests/Models/User.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/Models/User.php b/tests/Models/User.php index 7a75d7f2..114985b1 100644 --- a/tests/Models/User.php +++ b/tests/Models/User.php @@ -28,6 +28,11 @@ public function getAuthIdentifier() return $this->attributes[$name]; } + public function getAuthPasswordName() + { + return 'password'; + } + public function getAuthPassword() { return $this->attributes['password'];