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 fac747f commit 362a227Copy full SHA for 362a227
src/Context/FeatureContext.php
@@ -626,6 +626,10 @@ public function __construct() {
626
$this->variables['MYSQL_HOST'] = getenv( 'MYSQL_HOST' );
627
}
628
629
+ if ( getenv( 'WP_CLI_TEST_DBSOCKET' ) ) {
630
+ $this->variables['DB_SOCKET'] = getenv( 'WP_CLI_TEST_DBSOCKET' );
631
+ }
632
+
633
self::$db_settings['dbname'] = $this->variables['DB_NAME'];
634
self::$db_settings['dbuser'] = $this->variables['DB_USER'];
635
self::$db_settings['dbpass'] = $this->variables['DB_PASSWORD'];
0 commit comments