From 03318752b6b5eecad68948697db5d7a70c903998 Mon Sep 17 00:00:00 2001 From: lukinovec Date: Mon, 4 May 2026 13:40:42 +0200 Subject: [PATCH] Specify charset and collation config in test --- tests/TenantDatabaseManagerTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/TenantDatabaseManagerTest.php b/tests/TenantDatabaseManagerTest.php index feb24b12..46196f80 100644 --- a/tests/TenantDatabaseManagerTest.php +++ b/tests/TenantDatabaseManagerTest.php @@ -688,6 +688,8 @@ test('sqlite database manager respects the configured path while making the data test('newly created tenant databases use the correct charset and collation with mysql', function () { config([ 'tenancy.bootstrappers' => [DatabaseTenancyBootstrapper::class], + 'database.connections.mysql.charset' => 'utf8mb4', + 'database.connections.mysql.collation' => 'utf8mb4_unicode_ci', ]); Event::listen(TenantCreated::class, JobPipeline::make([CreateDatabase::class])->send(function (TenantCreated $event) {