From 90388b45a66134b4c057519a2c2b25b1dc481b0a Mon Sep 17 00:00:00 2001 From: Colin Knox <124388865+cgknx@users.noreply.github.com> Date: Fri, 17 Mar 2023 15:52:41 +0000 Subject: [PATCH] VariableDateTimePrecisionIntrospectionTest. Shorten table name. Oracle 11g has a maximum identifier length of 30. --- .../Schema/VariableDateTimePrecisionIntrospectionTest.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/Functional/Schema/VariableDateTimePrecisionIntrospectionTest.php b/tests/Functional/Schema/VariableDateTimePrecisionIntrospectionTest.php index 2175a52588b..a73d2d41064 100644 --- a/tests/Functional/Schema/VariableDateTimePrecisionIntrospectionTest.php +++ b/tests/Functional/Schema/VariableDateTimePrecisionIntrospectionTest.php @@ -24,6 +24,8 @@ class VariableDateTimePrecisionIntrospectionTest extends FunctionalTestCase { public function testTableIntrospection(): void { + $tableName = 'test_time_prec_intros'; + $platform = $this->connection->getDatabasePlatform(); if (! $platform->supportsVariablePrecisionTime()) { @@ -33,7 +35,7 @@ public function testTableIntrospection(): void $schemaManager = $this->connection->createSchemaManager(); $comparator = $schemaManager->createComparator(); - $table = new Table('test_time_precision_introspection'); + $table = new Table($tableName); $doctrineTypes = array_keys(Type::getTypesMap()); @@ -49,7 +51,7 @@ public function testTableIntrospection(): void $this->dropAndCreateTable($table); - $onlineTable = $schemaManager->introspectTable('test_time_precision_introspection'); + $onlineTable = $schemaManager->introspectTable($tableName); $diff = $comparator->compareTables($table, $onlineTable);