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 3c90695 commit fda59d8Copy full SHA for fda59d8
tests/console/controllers/MigrateControllerTest.php
@@ -51,7 +51,11 @@ public function setUp()
51
52
public function tearDown()
53
{
54
- yii::$app->mongodb->getCollection('migration')->drop();
+ try {
55
+ yii::$app->mongodb->getCollection('migration')->drop();
56
+ } catch (Exception $e) {
57
+ // shutdown exception
58
+ }
59
$this->tearDownMigrationPath();
60
parent::tearDown();
61
}
0 commit comments