Unverified Commit c4ccd0ce authored by Viral Solani's avatar Viral Solani Committed by GitHub

Merge pull request #114 from viralsolani/analysis-zD0vA5

Apply fixes from StyleCI
parents f6a3a4f2 931ca09e
...@@ -4,40 +4,35 @@ namespace Tests\Unit\Models; ...@@ -4,40 +4,35 @@ namespace Tests\Unit\Models;
use Tests\TestCase; use Tests\TestCase;
class UserTest extends TestCase class UserTest extends TestCase
{ {
/** @test */ /** @test */
function a_user_has_a_roles() public function a_user_has_a_roles()
{ {
$this->assertInstanceOf( $this->assertInstanceOf(
'Illuminate\Database\Eloquent\Collection', $this->admin->roles 'Illuminate\Database\Eloquent\Collection', $this->admin->roles
); );
} }
/** @test */ /** @test */
function a_user_has_a_permissions() public function a_user_has_a_permissions()
{ {
$this->assertInstanceOf( $this->assertInstanceOf(
'Illuminate\Database\Eloquent\Collection', $this->admin->permissions 'Illuminate\Database\Eloquent\Collection', $this->admin->permissions
); );
} }
/** @test */ /** @test */
function a_user_has_a_providers() public function a_user_has_a_providers()
{ {
$this->assertInstanceOf( $this->assertInstanceOf(
'Illuminate\Database\Eloquent\Collection', $this->admin->providers 'Illuminate\Database\Eloquent\Collection', $this->admin->providers
); );
} }
/** @test */ /** @test */
function a_user_has_a_sessions() public function a_user_has_a_sessions()
{ {
$this->assertInstanceOf( $this->assertInstanceOf(
'Illuminate\Database\Eloquent\Collection', $this->admin->sessions 'Illuminate\Database\Eloquent\Collection', $this->admin->sessions
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment