Skip to content

Commit

Permalink
Refactor 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 9165a16 commit e1123dd
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,17 @@
namespace Hyde\Framework\Testing\Unit\Facades;

use Hyde\Hyde;
use Hyde\Testing\TestCase;
use Hyde\Testing\UnitTestCase;

class HydeFacadesAreAliasedInAppConfigTest extends TestCase
class HydeFacadesAreAliasedInAppConfigTest extends UnitTestCase
{
protected static bool $needsKernel = true;

protected function setUp(): void
{
self::mockConfig(['app' => require Hyde::path('app/config.php')]);
}

public function testAllFacadesAreAliasedInAppConfig()
{
$this->assertArrayHasKey('Hyde', config('app.aliases'));
Expand Down

0 comments on commit e1123dd

Please sign in to comment.