Skip to content

Commit

Permalink
Merge pull request #306 from driesvints/unify-test-namespaces
Browse files Browse the repository at this point in the history
[3.0] Unify test namespaces
  • Loading branch information
driesvints committed Dec 6, 2018
2 parents 78d6d56 + ba46722 commit bc29c2b
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
"Laravel\\Socialite\\Tests\\": "tests/"
}
},
"extra": {
Expand Down
2 changes: 1 addition & 1 deletion tests/Fixtures/FacebookTestProviderStub.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Tests\Fixtures;
namespace Laravel\Socialite\Tests\Fixtures;

use stdClass;
use Mockery as m;
Expand Down
2 changes: 1 addition & 1 deletion tests/Fixtures/OAuthOneTestProviderStub.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Tests\Fixtures;
namespace Laravel\Socialite\Tests\Fixtures;

use Laravel\Socialite\One\AbstractProvider;

Expand Down
2 changes: 1 addition & 1 deletion tests/Fixtures/OAuthTwoTestProviderStub.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Tests\Fixtures;
namespace Laravel\Socialite\Tests\Fixtures;

use stdClass;
use Mockery as m;
Expand Down
4 changes: 2 additions & 2 deletions tests/OAuthOneTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Tests;
namespace Laravel\Socialite\Tests;

use Mockery as m;
use Illuminate\Http\Request;
Expand All @@ -9,10 +9,10 @@
use League\OAuth1\Client\Server\User;
use League\OAuth1\Client\Server\Twitter;
use Illuminate\Contracts\Session\Session;
use Tests\Fixtures\OAuthOneTestProviderStub;
use Laravel\Socialite\One\User as SocialiteUser;
use League\OAuth1\Client\Credentials\TokenCredentials;
use League\OAuth1\Client\Credentials\TemporaryCredentials;
use Laravel\Socialite\Tests\Fixtures\OAuthOneTestProviderStub;
use Symfony\Component\HttpFoundation\RedirectResponse as SymfonyRedirectResponse;

class OAuthOneTest extends TestCase
Expand Down
6 changes: 3 additions & 3 deletions tests/OAuthTwoTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Tests;
namespace Laravel\Socialite\Tests;

use stdClass;
use Mockery as m;
Expand All @@ -10,8 +10,8 @@
use PHPUnit\Framework\TestCase;
use Illuminate\Http\RedirectResponse;
use Illuminate\Contracts\Session\Session;
use Tests\Fixtures\FacebookTestProviderStub;
use Tests\Fixtures\OAuthTwoTestProviderStub;
use Laravel\Socialite\Tests\Fixtures\FacebookTestProviderStub;
use Laravel\Socialite\Tests\Fixtures\OAuthTwoTestProviderStub;
use Symfony\Component\HttpFoundation\Session\SessionInterface;
use Symfony\Component\HttpFoundation\RedirectResponse as SymfonyRedirectResponse;

Expand Down

0 comments on commit bc29c2b

Please sign in to comment.