Skip to content

Commit

Permalink
Use stdClass. (#1291)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmichot authored and tymondesigns committed Aug 30, 2017
1 parent 6959beb commit 6adc5c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/JWTAuthTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
namespace Tymon\JWTAuth\Test;

use Mockery;
use StdClass;
use stdClass;
use Tymon\JWTAuth\Token;
use Tymon\JWTAuth\Factory;
use Tymon\JWTAuth\JWTAuth;
Expand Down Expand Up @@ -284,11 +284,11 @@ public function it_should_return_false_when_no_token_is_set()
/** @test */
public function it_should_magically_call_the_manager()
{
$this->manager->shouldReceive('getBlacklist')->andReturn(new StdClass);
$this->manager->shouldReceive('getBlacklist')->andReturn(new stdClass);

$blacklist = $this->jwtAuth->manager()->getBlacklist();

$this->assertInstanceOf(StdClass::class, $blacklist);
$this->assertInstanceOf(stdClass::class, $blacklist);
}

/** @test */
Expand Down

0 comments on commit 6adc5c9

Please sign in to comment.