Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Zhang <Peter@innocraft.com>2021-10-14 06:15:41 +0300
committerPeter Zhang <Peter@innocraft.com>2021-10-14 06:15:41 +0300
commit3ce53b1e3faf8cda6f631c86afb79a7c91122691 (patch)
tree45e74ec2d67c3234615513892655f3ae895e8bea
parentd54e61ba223f604a70f493a09fb64784fd32363e (diff)
do not drop database
-rw-r--r--tests/PHPUnit/Framework/Fixture.php2
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) {