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 ede38d4 commit df036daCopy full SHA for df036da
src/Context/FeatureContext.php
@@ -502,14 +502,14 @@ public function __construct() {
502
$this->variables['DB_HOST'] = getenv( 'WP_CLI_TEST_DBHOST' );
503
}
504
505
- $this->drop_db();
506
- $this->set_cache_dir();
507
-
508
self::$db_settings['dbuser'] = $this->variables['DB_USER'];
509
self::$db_settings['dbpass'] = $this->variables['DB_PASSWORD'];
510
self::$db_settings['dbhost'] = $this->variables['DB_HOST'];
511
512
$this->variables['CORE_CONFIG_SETTINGS'] = Utils\assoc_args_to_str( self::$db_settings );
+
+ $this->drop_db();
+ $this->set_cache_dir();
513
514
515
/**
0 commit comments