-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/DirectoryTree/Bartender
- Loading branch information
Showing
14 changed files
with
41 additions
and
47 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
database/migrations/2024_03_31_000001_add_provider_columns_to_users_table.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,5 @@ class UserAuthenticated | |
*/ | ||
public function __construct( | ||
public Authenticatable $user | ||
) { | ||
} | ||
) {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ | |
'password' => Hash::make('password'), | ||
]); | ||
|
||
$socialite = tap(new SocialiteUser(), function ($user) { | ||
$socialite = tap(new SocialiteUser, function ($user) { | ||
$user->id = '1'; | ||
$user->email = '[email protected]'; | ||
}); | ||
|
@@ -35,7 +35,7 @@ | |
'password' => Hash::make('password'), | ||
]); | ||
|
||
$socialite = tap(new SocialiteUser(), function ($user) { | ||
$socialite = tap(new SocialiteUser, function ($user) { | ||
$user->id = '1'; | ||
$user->email = '[email protected]'; | ||
}); | ||
|
@@ -44,7 +44,7 @@ | |
}); | ||
|
||
it('creates new user', function () { | ||
$socialite = tap(new SocialiteUser(), function (SocialiteUser $user) { | ||
$socialite = tap(new SocialiteUser, function (SocialiteUser $user) { | ||
$user->id = '1'; | ||
$user->name = 'foo'; | ||
$user->email = '[email protected]'; | ||
|
@@ -68,7 +68,7 @@ | |
'password' => 'password', | ||
]); | ||
|
||
$socialite = tap(new SocialiteUser(), function (SocialiteUser $user) { | ||
$socialite = tap(new SocialiteUser, function (SocialiteUser $user) { | ||
$user->id = '1'; | ||
$user->name = 'foo'; | ||
$user->email = '[email protected]'; | ||
|
@@ -92,7 +92,7 @@ | |
|
||
$this->expectException(QueryException::class); | ||
|
||
$socialite = tap(new SocialiteUser(), function (SocialiteUser $user) { | ||
$socialite = tap(new SocialiteUser, function (SocialiteUser $user) { | ||
$user->id = '1'; | ||
$user->name = 'foo'; | ||
$user->email = '[email protected]'; | ||
|
@@ -110,7 +110,7 @@ | |
'password' => 'password', | ||
]); | ||
|
||
$socialite = tap(new SocialiteUser(), function (SocialiteUser $user) { | ||
$socialite = tap(new SocialiteUser, function (SocialiteUser $user) { | ||
$user->id = '123'; | ||
$user->name = 'bar'; | ||
$user->email = '[email protected]'; | ||
|