Skip to content

Commit

Permalink
Updated imports
Browse files Browse the repository at this point in the history
  • Loading branch information
bkuhl committed Jul 1, 2020
1 parent 08d86db commit 8b9e377
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/Http/AuthenticatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

namespace HelpScout\Api\Tests\Http;

use Closure;
use GuzzleHttp\Client;
use HelpScout\Api\Http\Auth\Auth;
use HelpScout\Api\Http\Auth\ClientCredentials;
Expand Down Expand Up @@ -53,7 +52,7 @@ public function testSetsAndProvidesCredentials()

public function testTokensAreRefreshedWithoutCallbacks()
{
$authType = \Mockery::mock(Auth::class, [
$authType = Mockery::mock(Auth::class, [
'getPayload' => [],
]);

Expand Down Expand Up @@ -81,7 +80,7 @@ public function testTokensAreRefreshedWithoutCallbacks()

public function testTokensAreRefreshedWithClosureCallbacks()
{
$authType = \Mockery::mock(Auth::class, [
$authType = Mockery::mock(Auth::class, [
'getPayload' => [],
]);

Expand Down Expand Up @@ -115,7 +114,7 @@ public function testTokensAreRefreshedWithClosureCallbacks()

public function testTokensAreRefreshedWithObjectCallbacks()
{
$authType = \Mockery::mock(Auth::class, [
$authType = Mockery::mock(Auth::class, [
'getPayload' => [],
]);

Expand Down Expand Up @@ -176,7 +175,7 @@ public function testIdentifiesWhenToAutoRefreshToken(array $args)
*/
extract($args);

$authType = \Mockery::mock(Auth::class);
$authType = Mockery::mock(Auth::class);
$authType->shouldReceive('getType')->andReturn($tokenType);

$authenticator = new Authenticator($this->client, $authType);
Expand Down

0 comments on commit 8b9e377

Please sign in to comment.