Skip to content

Commit

Permalink
add setup group test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ioannis committed Apr 14, 2026
1 parent dcba6e9 commit 567719d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/tests/TestCase/Command/RegistrySetupTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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();
Expand Down

0 comments on commit 567719d

Please sign in to comment.