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 36df9a1 commit 1f4a010
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@ 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 @@ -71,10 +65,12 @@ protected function getPackageAliases($app): array

protected function defineDatabaseMigrations()
{
$this->loadLaravelMigrations();
// $this->loadLaravelMigrations();

$this->loadMigrationsFrom([
workbench_path('database/migrations'),
]);
$this->artisan('orchid:install');
}

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

0 comments on commit 1f4a010

Please sign in to comment.