Merge pull request #107 from Boy132/fix/tests

Fix tests
This commit is contained in:
iamkubi 2024-04-18 15:37:29 -07:00 committed by GitHub
commit 12eee6f6a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -177,7 +177,7 @@ class User extends Model implements AuthenticatableContract, AuthorizableContrac
protected static function booted(): void protected static function booted(): void
{ {
static::creating(function (self $user) { static::creating(function (self $user) {
$user->uuid = Str::uuid(); $user->uuid = Str::uuid()->toString();
return true; return true;
}); });