setup wizard debug

This commit is contained in:
Čarodej
2022-03-13 18:30:03 +01:00
parent 2bba6dc051
commit 5e48af22a2
100 changed files with 308 additions and 300 deletions

View File

@@ -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', [

View File

@@ -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' => [],
],
],
],
]);