Skip to content

Commit

Permalink
feat: remove test traits
Browse files Browse the repository at this point in the history
they will be added later as an optional Composer package
  • Loading branch information
Mohammad-Alavi committed Dec 7, 2024
1 parent 71c6942 commit 654a42d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 628 deletions.
2 changes: 0 additions & 2 deletions src/Abstracts/Tests/PhpUnit/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
use Apiato\Core\Traits\TestCaseTrait;
use Apiato\Core\Traits\TestTraits\PhpUnit\TestAssertionHelperTrait;
use Apiato\Core\Traits\TestTraits\PhpUnit\TestAuthHelperTrait;
use Apiato\Core\Traits\TestTraits\PhpUnit\TestDatabaseProfilerTrait;
use Apiato\Core\Traits\TestTraits\PhpUnit\TestRequestHelperTrait;
use Illuminate\Contracts\Console\Kernel;
use Illuminate\Foundation\Testing\LazilyRefreshDatabase;
Expand All @@ -21,7 +20,6 @@ abstract class TestCase extends LaravelTestCase
use TestAssertionHelperTrait;
use HashIdTrait;
use LazilyRefreshDatabase;
use TestDatabaseProfilerTrait;

/**
* The base URL to use while testing the application.
Expand Down
149 changes: 0 additions & 149 deletions src/Traits/TestTraits/PhpUnit/TestDatabaseProfilerTrait.php

This file was deleted.

2 changes: 0 additions & 2 deletions tests/Unit/Abstracts/Tests/PhpUnit/TestCaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
use Apiato\Core\Traits\TestCaseTrait;
use Apiato\Core\Traits\TestTraits\PhpUnit\TestAssertionHelperTrait;
use Apiato\Core\Traits\TestTraits\PhpUnit\TestAuthHelperTrait;
use Apiato\Core\Traits\TestTraits\PhpUnit\TestDatabaseProfilerTrait;
use Apiato\Core\Traits\TestTraits\PhpUnit\TestRequestHelperTrait;
use Illuminate\Foundation\Testing\LazilyRefreshDatabase;
use PHPUnit\Framework\Attributes\CoversClass;
Expand All @@ -25,7 +24,6 @@ public function testUsesTraits(): void
TestAssertionHelperTrait::class,
HashIdTrait::class,
LazilyRefreshDatabase::class,
TestDatabaseProfilerTrait::class,
];

foreach ($traits as $trait) {
Expand Down
Loading

0 comments on commit 654a42d

Please sign in to comment.