Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions tests/Feature/ThemesConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Modules\Themes\Tests\Feature;

use App\Services\FrontendConfig;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;

Expand All @@ -15,6 +16,10 @@ protected function setUp(): void
{
parent::setUp();
$this->storageDir = storage_path('app/themes');

app()->bind(FrontendConfig::class, fn () => new class extends FrontendConfig {
public function getFramework(): ?string { return 'vue'; }
});
}

protected function tearDown(): void
Expand Down
Loading