Skip to content

Commit 740afc7

Browse files
avvertixgithub-actions[bot]
authored andcommitted
Fix styling
1 parent 124b539 commit 740afc7

8 files changed

+4
-12
lines changed

tests/Unit/IdentityLinkTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Tests\Unit;
44

5-
use Illuminate\Foundation\Testing\DatabaseMigrations;
65
use Illuminate\View\Component;
76
use InvalidArgumentException;
87
use Oneofftech\Identities\Facades\Identity;
@@ -11,7 +10,6 @@
1110

1211
class IdentityLinkTest extends TestCase
1312
{
14-
1513
protected function setUp(): void
1614
{
1715
parent::setUp();

tests/Unit/IdentityModelsConfigurationTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,13 @@
22

33
namespace Tests\Unit;
44

5-
use Illuminate\Foundation\Testing\DatabaseMigrations;
65
use Oneofftech\Identities\Facades\Identity as IdentityFacade;
76
use Tests\Fixtures\Identity;
87
use Tests\Fixtures\User;
98
use Tests\TestCase;
109

1110
class IdentityModelsConfigurationTest extends TestCase
1211
{
13-
1412
public function test_default_models_uses_app_namespace()
1513
{
1614
$this->assertEquals('App\\User', IdentityFacade::userModel());

tests/Unit/IdentityServiceProviderTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Tests\Unit;
44

5-
use Illuminate\Foundation\Testing\DatabaseMigrations;
65
use Illuminate\Foundation\Testing\RefreshDatabase;
76
use InvalidArgumentException;
87
use Laravel\Socialite\Two\FacebookProvider;

tests/Unit/InteractWithPreviousUrlTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function test_previous_url_can_be_retrieved()
2424
Session::put('_previous.url', null);
2525

2626
Session::put('_oot.identities.previous_url', 'http://localhost/previous');
27-
27+
2828
$url = $this->getPreviousUrl();
2929

3030
$this->assertEquals('http://localhost/previous', $url);

tests/Unit/InteractsWithAdditionalAttributesDefinedViaPropertyTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function test_attributes_are_saved()
3535

3636
public function test_attributes_are_retrieved()
3737
{
38-
Session::put('_oot.identities.attributes','{"attribute":"http://localhost/previous"}');
38+
Session::put('_oot.identities.attributes', '{"attribute":"http://localhost/previous"}');
3939

4040
$request = Request::create('http://localhost/callback');
4141
$request->setLaravelSession(Session::driver());

tests/Unit/InteractsWithAdditionalAttributesTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace Tests\Unit;
44

55
use Illuminate\Http\Request;
6-
use Illuminate\Session\SessionManager;
76
use Illuminate\Support\Facades\Session;
87
use Oneofftech\Identities\Support\InteractsWithAdditionalAttributes;
98
use Tests\TestCase;
@@ -35,7 +34,7 @@ public function test_nothing_is_saved()
3534
public function test_nothing_is_retrieved()
3635
{
3736
$request = Request::create('http://localhost/callback');
38-
37+
3938
$request->setLaravelSession(Session::driver());
4039

4140
$data = $this->pullAttributes($request);

tests/Unit/LoginControllerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
use Mockery;
88
use Oneofftech\Identities\Facades\Identity as IdentityFacade;
99
use Oneofftech\Identities\Facades\IdentityCrypt;
10+
use Orchestra\Testbench\Attributes\WithMigration;
1011
use SocialiteProviders\GitLab\Provider;
1112
use SocialiteProviders\Manager\OAuth2\User as OauthUser;
1213
use Tests\Fixtures\Concern\UseTestFixtures;
13-
use Orchestra\Testbench\Attributes\WithMigration;
1414
use Tests\TestCase;
1515

1616
#[WithMigration]

tests/Unit/ScaffoldAuthenticationControllersTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,12 @@
22

33
namespace Tests\Unit;
44

5-
use Illuminate\Foundation\Testing\DatabaseMigrations;
65
use Illuminate\Support\Facades\Artisan;
76
use Illuminate\Support\Facades\File;
87
use Tests\TestCase;
98

109
class ScaffoldAuthenticationControllersTest extends TestCase
1110
{
12-
1311
public function test_scaffold()
1412
{
1513
$webRoutesFile = base_path('routes/web.php');

0 commit comments

Comments
 (0)