Skip to content

Commit

Permalink
tests fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammadmp97 committed Oct 15, 2023
1 parent ffca015 commit c36a825
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 20 deletions.
2 changes: 0 additions & 2 deletions tests/Feature/ChallengeCommentsControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ class ChallengeCommentsControllerTest extends TestCase
{
use RefreshDatabase;

private $user;

public function setUp(): void
{
parent::setUp();
Expand Down
2 changes: 0 additions & 2 deletions tests/Feature/ChallengeLikesControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ class ChallengeLikesControllerTest extends TestCase
{
use RefreshDatabase;

private $user;

private $challenge;

public function setUp(): void
Expand Down
2 changes: 0 additions & 2 deletions tests/Feature/CommentLikesControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ class CommentLikesControllerTest extends TestCase
{
use RefreshDatabase;

private $user;

private $comment;

public function setUp(): void
Expand Down
14 changes: 0 additions & 14 deletions tests/Unit/Commands/HandleDeactivationRequestsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,6 @@ class HandleDeactivationRequestsTest extends TestCase
{
use RefreshDatabase;

private User $user;

public function setUp(): void
{
parent::setUp();

Country::create([
'code' => 'GB',
'name' => 'United Kingdom',
]);

$this->user = $this->signIn();
}

public function test_deletes_user_data(): void
{
Challenge::factory()->create();
Expand Down

0 comments on commit c36a825

Please sign in to comment.