Skip to content

Commit 5c1015d

Browse files
committed
Updated social testing compatibility
1 parent 3385ec3 commit 5c1015d

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

app/Services/SocialAuthService.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
<?php namespace BookStack\Services;
22

3-
use GuzzleHttp\Exception\ClientException;
43
use Laravel\Socialite\Contracts\Factory as Socialite;
54
use BookStack\Exceptions\SocialDriverNotConfigured;
65
use BookStack\Exceptions\SocialSignInException;
76
use BookStack\Exceptions\UserRegistrationException;
8-
use BookStack\Http\Controllers\Auth\AuthController;
97
use BookStack\Repos\UserRepo;
108
use BookStack\SocialAccount;
11-
use BookStack\User;
129

1310
class SocialAuthService
1411
{

phpunit.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,6 @@
3434
<env name="GITHUB_APP_SECRET" value="aaaaaaaaaaaaaa"/>
3535
<env name="GOOGLE_APP_ID" value="aaaaaaaaaaaaaa"/>
3636
<env name="GOOGLE_APP_SECRET" value="aaaaaaaaaaaaaa"/>
37+
<env name="APP_URL" value="http://bookstack.dev"/>
3738
</php>
3839
</phpunit>

0 commit comments

Comments
 (0)