File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
tests/Tests/ORM/Functional Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,8 @@ public function testUsingTimeRelatedDefaultExpressionCausesAnOrmDeprecationAndNo
3838 $ this ->expectDeprecationWithIdentifier ('https://github.com/doctrine/orm/issues/12252 ' );
3939 $ this ->expectNoDeprecationWithIdentifier ('https://github.com/doctrine/dbal/pull/7195 ' );
4040
41- $ this ->createSchemaForModels (LegacyTimeEntity::class);
41+ $ this ->_schemaTool ->createSchema ($ this ->getMetadataForModels ([LegacyTimeEntity::class]));
42+ /* $this->createSchemaForModels(LegacyTimeEntity::class); */
4243 $ this ->_em ->persist ($ entity = new LegacyTimeEntity ());
4344 $ this ->_em ->flush ();
4445 $ this ->_em ->find (LegacyTimeEntity::class, $ entity ->id );
Original file line number Diff line number Diff line change @@ -40,7 +40,8 @@ public function testUsingTimeRelatedDefaultExpressionCausesAnOrmDeprecationAndNo
4040 $ this ->expectDeprecationWithIdentifier ('https://github.com/doctrine/orm/issues/12252 ' );
4141 $ this ->expectNoDeprecationWithIdentifier ('https://github.com/doctrine/dbal/pull/7195 ' );
4242
43- $ this ->createSchemaForModels (XmlLegacyTimeEntity::class);
43+ $ this ->_schemaTool ->createSchema ($ this ->getMetadataForModels ([XmlLegacyTimeEntity::class]));
44+ /* $this->createSchemaForModels(XmlLegacyTimeEntity::class); */
4445 $ this ->_em ->persist ($ entity = new XmlLegacyTimeEntity ());
4546 $ this ->_em ->flush ();
4647 $ this ->_em ->find (XmlLegacyTimeEntity::class, $ entity ->id );
You can’t perform that action at this time.
0 commit comments