Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Revamp Plugin Manager #501

Merged
merged 17 commits into from
Jun 3, 2022
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Removed DB logic from test case
jaxwilko committed Jun 2, 2022
commit c5350f4d60ff883c5991df9ceb2132e43c7332b3
19 changes: 0 additions & 19 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
@@ -21,16 +21,6 @@ public function createApplication()
// Set random encryption key
$app['config']->set('app.key', bin2hex(random_bytes(16)));

if (!file_exists(base_path('config/testing/database.php'))) {
$app['config']->set('database.connections.testing', [
'driver' => 'sqlite',
'database' => ':memory:',
]);
$app['config']->set('database.default', 'testing');
}

$this->runWinterUpCommand();

return $app;
}

@@ -98,13 +88,4 @@ public static function assertRegExp(string $pattern, string $string, string $mes

Assert::assertRegExp($pattern, $string, $message);
}

/**
* Migrate database using winter:up command.
* @return void
*/
protected function runWinterUpCommand()
{
Artisan::call('winter:up');
}
}