mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-05 18:23:48 +00:00
setup wizard debug
This commit is contained in:
@@ -63,8 +63,8 @@ class SocialiteTest extends TestCase
|
||||
// Replace Socialite Instance with mock
|
||||
$this->app->instance(Socialite::class, $stub);
|
||||
|
||||
$this->getJson('/api/socialite/facebook/callback')
|
||||
->assertCreated();
|
||||
$this->getJson('/socialite/facebook/callback')
|
||||
->assertRedirect();
|
||||
|
||||
$this
|
||||
->assertDatabaseHas('users', [
|
||||
|
||||
@@ -151,11 +151,8 @@ class UserAccountTest extends TestCase
|
||||
'id' => (string) $user->id,
|
||||
'type' => 'user',
|
||||
'attributes' => [
|
||||
'avatar' => [
|
||||
'md' => 'http://localhost/assets/images/default-avatar.png',
|
||||
'sm' => 'http://localhost/assets/images/default-avatar.png',
|
||||
'xs' => 'http://localhost/assets/images/default-avatar.png',
|
||||
],
|
||||
'avatar' => null,
|
||||
'color' => $user->settings->color,
|
||||
'email' => $user->email,
|
||||
'role' => $user->role,
|
||||
'socialite_account' => false,
|
||||
@@ -204,6 +201,12 @@ class UserAccountTest extends TestCase
|
||||
'favourites' => [
|
||||
'data' => [],
|
||||
],
|
||||
'readNotifications' => [
|
||||
'data' => [],
|
||||
],
|
||||
'unreadNotifications' => [
|
||||
'data' => [],
|
||||
],
|
||||
],
|
||||
],
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user