diff options
author | Peter Zhang <Peter@innocraft.com> | 2021-10-14 06:15:41 +0300 |
---|---|---|
committer | Peter Zhang <Peter@innocraft.com> | 2021-10-14 06:15:41 +0300 |
commit | 3ce53b1e3faf8cda6f631c86afb79a7c91122691 (patch) | |
tree | 45e74ec2d67c3234615513892655f3ae895e8bea | |
parent | d54e61ba223f604a70f493a09fb64784fd32363e (diff) |
do not drop databasem-17856-test-database-connection
do not drop database
-rw-r--r-- | tests/PHPUnit/Framework/Fixture.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PHPUnit/Framework/Fixture.php b/tests/PHPUnit/Framework/Fixture.php index 3b0d68d4a7..d3ecac9b93 100644 --- a/tests/PHPUnit/Framework/Fixture.php +++ b/tests/PHPUnit/Framework/Fixture.php @@ -993,7 +993,7 @@ class Fixture extends \PHPUnit\Framework\Assert // } try { - if($dbName !==$originalDbName || $dbName=='piwik_tests') { + if($dbName !==$originalDbName) { DbHelper::dropDatabase($dbName); } } catch (Exception $e) { |