mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 00:02:15 +00:00
added socialite provider for the user
This commit is contained in:
@@ -32,6 +32,21 @@ class UserAccountTest extends TestCase
|
||||
Storage::disk('local')
|
||||
->assertExists('files/' . User::first()->id);
|
||||
}
|
||||
/**
|
||||
* @test
|
||||
*/
|
||||
public function it_socialite_redirect()
|
||||
{
|
||||
$response = $this->call('GET', 'api/socialite/google/redirect');
|
||||
|
||||
$this->assertStringContainsString('accounts.google.com/o/oauth2/auth', $response['url']);
|
||||
}
|
||||
/**
|
||||
* @test
|
||||
*/
|
||||
public function it_socialite_callback()
|
||||
{
|
||||
}
|
||||
/**
|
||||
* todo: finish test
|
||||
*/
|
||||
@@ -146,6 +161,7 @@ class UserAccountTest extends TestCase
|
||||
'email' => $user->email,
|
||||
'role' => $user->role,
|
||||
'two_factor_authentication' => false,
|
||||
'socialite_account' => false,
|
||||
'folders' => [],
|
||||
'storage' => [
|
||||
'used' => 0,
|
||||
|
||||
Reference in New Issue
Block a user