File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -305,28 +305,27 @@ public function testIntrospectTableWithDotInIndexNames(): void
305305 ->setPrimaryKeyConstraint (
306306 PrimaryKeyConstraint::editor ()
307307 ->setUnquotedColumnNames ('id ' )
308- ->setQuotedName ('pk.example.id ' )
309308 ->create (),
310309 )
311310 ->setForeignKeyConstraints (
312311 ForeignKeyConstraint::editor ()
313312 ->setUnquotedReferencingColumnNames ('user_id ' )
314- ->setReferencedTableName ('test_user ' )
313+ ->setUnquotedReferencedTableName ('test_user ' )
315314 ->setUnquotedReferencedColumnNames ('id ' )
316315 ->setQuotedName ('fk.example.user_id ' )
317316 ->create (),
318317 )
319- ->setIndexes ([Index::editor ()
318+ ->setIndexes (
319+ Index::editor ()
320320 ->setQuotedName ('idx.example.id ' )
321321 ->setUnquotedColumnNames ('id ' , 'user_id ' )
322322 ->create (),
323- ] )
323+ )
324324 ->create ();
325325 $ this ->dropAndCreateTable ($ tableTo );
326326
327327 $ table = $ this ->schemaManager ->introspectTable ('example ' );
328328 self ::assertCount (2 , $ table ->getColumns ());
329- self ::assertSame ('pk.example.id ' , $ table ->getPrimaryKeyConstraint ()->getObjectName ()->toString ());
330329 self ::assertSame ('fk.example.user_id ' , $ table ->getForeignKey ('fk.example.user_id ' )->getName ());
331330 self ::assertSame ('idx.example.id ' , $ table ->getIndex ('idx.example.id ' )->getName ());
332331 }
You can’t perform that action at this time.
0 commit comments