From e2cab71545525ba4ea08a26d069350319ef74f28 Mon Sep 17 00:00:00 2001 From: Maxim Babichev Date: Sat, 3 Feb 2024 00:59:16 +0300 Subject: [PATCH] fix port mariadb --- tests/Infra/TestCase.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tests/Infra/TestCase.php b/tests/Infra/TestCase.php index b1c5f91d6..6ecc4ad17 100644 --- a/tests/Infra/TestCase.php +++ b/tests/Infra/TestCase.php @@ -63,12 +63,8 @@ final protected function getEnvironmentSetUp($app): void $config->set('database.connections.testing.prefix', 'tests'); $config->set('database.connections.pgsql.prefix', 'tests'); $config->set('database.connections.mysql.prefix', 'tests'); - - /** @var array $mysql */ - $mysql = $config->get('database.connections.mysql'); - $config->set('database.connections.mariadb', array_merge($mysql, [ - 'port' => 3307, - ])); + $config->set('database.connections.mariadb.prefix', 'tests'); + $config->set('database.connections.mariadb.port', 3307); // new table name's $config->set('wallet.transaction.table', 'transaction');