Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

[fix] destroy connection on test teardown #281

Merged
merged 3 commits into from
Dec 6, 2020
Merged
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions tests/WithDb/SelectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ protected function setUp(): void
protected function tearDown(): void
{
$this->dropDbIfExists();

$this->c = null;
}

private function q($table = null, $alias = null)
Expand Down
2 changes: 2 additions & 0 deletions tests/WithDb/TransactionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ protected function setUp(): void
protected function tearDown(): void
{
$this->dropDbIfExists();

$this->c = null;
}

private function q($table = null, $alias = null)
Expand Down