From 567719dbbfc3d96d371429e25f07203460ec158c Mon Sep 17 00:00:00 2001 From: Ioannis Igoumenos Date: Tue, 14 Apr 2026 11:51:11 +0000 Subject: [PATCH] add setup group test --- app/tests/TestCase/Command/RegistrySetupTest.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/tests/TestCase/Command/RegistrySetupTest.php b/app/tests/TestCase/Command/RegistrySetupTest.php index fbb2b3fb4..1bf85f6cd 100644 --- a/app/tests/TestCase/Command/RegistrySetupTest.php +++ b/app/tests/TestCase/Command/RegistrySetupTest.php @@ -7,7 +7,9 @@ use Cake\Console\TestSuite\ConsoleIntegrationTestTrait; use Cake\Datasource\ConnectionManager; use Cake\TestSuite\TestCase; +use PHPUnit\Framework\Attributes\Group; +#[Group('registry-setup')] final class RegistrySetupTest extends TestCase { use ConsoleIntegrationTestTrait; @@ -30,7 +32,7 @@ public function testRegistrySetupRunsSuccessfully(): void )); $this->assertExitCode(0, 'bin/cake setup should exit successfully'); - $connection = ConnectionManager::get('test'); + $connection = ConnectionManager::get('default'); // Verify we can talk to the DB and it has tables. $tables = $connection->getSchemaCollection()->listTables();