Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-Authored-By: Bruno Gaspar <brunofgaspar1@gmail.com>
  • Loading branch information
8633brown and brunogaspar authored Sep 10, 2019
1 parent 53648c0 commit 98e17aa
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/Activations/IlluminateActivationRepositoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ class IlluminateActivationRepositoryTest extends TestCase
*/
protected $query;

/**
* {@inheritdoc}
*/
protected function setUp(): void
{
$this->query = m::mock(Builder::class);
Expand All @@ -70,6 +73,7 @@ protected function tearDown(): void
$this->query = null;
$this->model = null;
$this->activations = null;

m::close();
}

Expand Down
1 change: 1 addition & 0 deletions tests/Checkpoints/ActivationCheckpointTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ protected function tearDown(): void
$this->activations = null;
$this->user = null;
$this->checkpoint = null;

m::close();
}

Expand Down
1 change: 1 addition & 0 deletions tests/Checkpoints/ThrottleCheckpointTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ protected function tearDown(): void
$this->throttle = null;
$this->user = null;
$this->checkpoint = null;

m::close();
}

Expand Down
1 change: 1 addition & 0 deletions tests/Permissions/PermissibleTraitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ protected function setUp(): void
protected function tearDown(): void
{
$this->permissible = null;

m::close();
}

Expand Down
1 change: 1 addition & 0 deletions tests/Persistences/EloquentPersistenceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ protected function setUp(): void
protected function tearDown(): void
{
$this->persistence = null;

m::close();
}

Expand Down
1 change: 1 addition & 0 deletions tests/Reminders/IlluminateReminderRepositoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ protected function tearDown(): void
$this->query = null;
$this->model = null;
$this->reminders = null;

m::close();
}

Expand Down
1 change: 1 addition & 0 deletions tests/Roles/EloquentRoleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ protected function setUp(): void
protected function tearDown(): void
{
$this->role = null;

m::close();
}

Expand Down
1 change: 1 addition & 0 deletions tests/Users/IlluminateUserRepositoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ protected function tearDown(): void
$this->query = null;
$this->model = null;
$this->users = null;

m::close();
}

Expand Down

0 comments on commit 98e17aa

Please sign in to comment.