File tree 2 files changed +3
-11
lines changed 2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change 73
73
- 3306:3306
74
74
75
75
mariadb :
76
- image : mariadb:10.5
76
+ image : mariadb:10.10 # https://github.com/laravel/framework/pull/48455
77
77
env :
78
78
MYSQL_ROOT_PASSWORD : wallet
79
79
MYSQL_DATABASE : wallet
Original file line number Diff line number Diff line change @@ -48,9 +48,6 @@ final protected function getPackageProviders($app): array
48
48
$ app ['config ' ]->set ('wallet.transfer.model ' , Transfer::class);
49
49
$ app ['config ' ]->set ('wallet.wallet.model ' , Wallet::class);
50
50
51
- //infra
52
- $ app ['config ' ]->set ('database.mysql.collation ' , 'utf8mb4_unicode_ci ' );
53
-
54
51
return [WalletServiceProvider::class, TestServiceProvider::class];
55
52
}
56
53
@@ -66,13 +63,8 @@ final protected function getEnvironmentSetUp($app): void
66
63
$ config ->set ('database.connections.testing.prefix ' , 'tests ' );
67
64
$ config ->set ('database.connections.pgsql.prefix ' , 'tests ' );
68
65
$ config ->set ('database.connections.mysql.prefix ' , 'tests ' );
69
-
70
- /** @var array<string, mixed> $mysql */
71
- $ mysql = $ config ->get ('database.connections.mysql ' );
72
- $ config ->set ('database.connections.mariadb ' , array_merge ($ mysql , [
73
- 'collation ' => 'utf8mb4_unicode_ci ' ,
74
- 'port ' => 3307 ,
75
- ]));
66
+ $ config ->set ('database.connections.mariadb.prefix ' , 'tests ' );
67
+ $ config ->set ('database.connections.mariadb.port ' , 3307 );
76
68
77
69
// new table name's
78
70
$ config ->set ('wallet.transaction.table ' , 'transaction ' );
You can’t perform that action at this time.
0 commit comments