@@ -1310,6 +1310,7 @@ public function testQuotedIdentifiers(): void
1310
1310
)
1311
1311
->create (),
1312
1312
);
1313
+ $ artists ->setComment ('"Artists" table ' );
1313
1314
1314
1315
$ tracks = new Table ('"Tracks" ' );
1315
1316
$ tracks ->addColumn ('"Id" ' , Types::INTEGER );
@@ -1329,6 +1330,7 @@ public function testQuotedIdentifiers(): void
1329
1330
)
1330
1331
->create (),
1331
1332
);
1333
+ $ tracks ->setComment ('"Tracks" table ' );
1332
1334
1333
1335
$ this ->dropTableIfExists ($ tracks ->getObjectName ()->toSQL ($ platform ));
1334
1336
$ this ->dropTableIfExists ($ artists ->getObjectName ()->toSQL ($ platform ));
@@ -1365,6 +1367,8 @@ public function testQuotedIdentifiers(): void
1365
1367
UnqualifiedName::quoted ('Id ' ),
1366
1368
], $ primaryKey ->getColumnNames ());
1367
1369
1370
+ self ::assertSame ('"Artists" table ' , $ artists ->getComment ());
1371
+
1368
1372
// Foreign table assertions
1369
1373
self ::assertUnqualifiedNameEquals (
1370
1374
UnqualifiedName::quoted ('Id ' ),
@@ -1401,6 +1405,8 @@ public function testQuotedIdentifiers(): void
1401
1405
$ this ->assertUnqualifiedNameListEquals ([
1402
1406
UnqualifiedName::quoted ('Id ' ),
1403
1407
], $ constraint ->getReferencedColumnNames ());
1408
+
1409
+ self ::assertSame ('"Tracks" table ' , $ tracks ->getComment ());
1404
1410
}
1405
1411
1406
1412
public function testChangeIndexWithForeignKeys (): void
0 commit comments