create(); $response = $this->getJson( route('api.ilaravels.me'), ['Authorization' => 'Bearer '. $this->getToken($user)] ); $response->assertOk(); $result = $response->getOriginalContent(); $this->assertTrue($result->id === $user->id); } }