Skip to content

Commit

Permalink
Update unit test to use the unit test case
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Sep 9, 2024
1 parent 456b087 commit 81da7c4
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace Hyde\Framework\Testing\Unit;

use Hyde\Hyde;
use Hyde\Testing\TestCase;
use Hyde\Testing\UnitTestCase;
use Illuminate\Support\Carbon;
use Hyde\Framework\Actions\CreatesNewMarkdownPostFile;

Expand All @@ -14,8 +14,11 @@
*
* @see \Hyde\Framework\Testing\Feature\Commands\MakePostCommandTest
*/
class CreatesNewMarkdownPostFileTest extends TestCase
class CreatesNewMarkdownPostFileTest extends UnitTestCase
{
protected static bool $needsKernel = true;
protected static bool $needsConfig = true;

protected function setUp(): void

Check failure on line 22 in packages/framework/tests/Unit/CreatesNewMarkdownPostFileTest.php

View workflow job for this annotation

GitHub Actions / analyze

HydeStan: UnnecessaryParentsetUpMethodError

setUp method in UnitTestCase performs no operation and should be removed.
{
parent::setUp();
Expand Down

0 comments on commit 81da7c4

Please sign in to comment.