File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Tests/Validator/Constraints Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1313
1414use Doctrine \Common \Collections \ArrayCollection ;
1515use Doctrine \DBAL \Types \Type ;
16+ use Doctrine \ORM \Mapping \ClassMetadataInfo ;
1617use Doctrine \ORM \Tools \SchemaTool ;
1718use Doctrine \Persistence \ManagerRegistry ;
18- use Doctrine \Persistence \Mapping \ClassMetadata ;
1919use Doctrine \Persistence \ObjectManager ;
2020use Doctrine \Persistence \ObjectRepository ;
2121use Symfony \Bridge \Doctrine \Test \DoctrineTestHelper ;
@@ -111,7 +111,7 @@ protected function createEntityManagerMock($repositoryMock)
111111 ->willReturn ($ repositoryMock )
112112 ;
113113
114- $ classMetadata = $ this ->createMock (ClassMetadata ::class);
114+ $ classMetadata = $ this ->createMock (ClassMetadataInfo ::class);
115115 $ classMetadata
116116 ->expects ($ this ->any ())
117117 ->method ('hasField ' )
You can’t perform that action at this time.
0 commit comments