Issue #3411403 by bradjones1: pgsql module's NonPublicSchemaTest can fail in non-CI environments

merge-requests/6149/head
Dave Long 2024-02-04 11:19:50 +00:00
parent a5c4ebf221
commit ebb73695b2
No known key found for this signature in database
GPG Key ID: ED52AE211E142771
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ class NonPublicSchemaTest extends DriverSpecificKernelTestBase {
// Create a connection to the non-public schema.
$info = Database::getConnectionInfo('default');
$info['default']['schema'] = 'testing_fake';
Database::getConnection()->query('CREATE SCHEMA IF NOT EXISTS testing_fake');
Database::addConnectionInfo('default', 'testing_fake', $info['default']);
$this->testingFakeConnection = Database::getConnection('testing_fake', 'default');