Skip to content

Commit

Permalink
fix: relocate artisan imstall command
Browse files Browse the repository at this point in the history
  • Loading branch information
czernika committed Mar 20, 2024
1 parent 92b6366 commit 36df9a1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ protected function setUp(): void
Dashboard::useModel(OrchidAttachment::class, Attachment::class);
}

protected function tearDown(): void
{
parent::tearDown();
$this->artisan('orchid:install');
}

protected function defineEnvironment($app)
{
tap($app['config'], function (Repository $config) {
Expand Down Expand Up @@ -67,10 +73,8 @@ protected function defineDatabaseMigrations()
{
$this->loadLaravelMigrations();
$this->loadMigrationsFrom([
dirname(__DIR__, 1).'/vendor/orchid/platform/database/migrations',
workbench_path('database/migrations'),
]);
// $this->artisan('orchid:install');
}

public function renderComponent(Field $component, ?array $data = []): string
Expand Down

0 comments on commit 36df9a1

Please sign in to comment.