We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd59f1c commit 3c90695Copy full SHA for 3c90695
tests/console/controllers/MigrateControllerTest.php
@@ -51,15 +51,9 @@ public function setUp()
51
52
public function tearDown()
53
{
54
- parent::tearDown();
55
- if (extension_loaded('mongodb')) {
56
- try {
57
- yii::$app->mongodb->getCollection('migration')->drop();
58
- } catch (Exception $e) {
59
- // shutdown exception
60
- }
61
+ yii::$app->mongodb->getCollection('migration')->drop();
62
$this->tearDownMigrationPath();
+ parent::tearDown();
63
}
64
65
public function setUpMigrationPath()
0 commit comments