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 13
13
14
14
use Doctrine \Common \Collections \ArrayCollection ;
15
15
use Doctrine \DBAL \Types \Type ;
16
+ use Doctrine \ORM \Mapping \ClassMetadataInfo ;
16
17
use Doctrine \ORM \Tools \SchemaTool ;
17
18
use Doctrine \Persistence \ManagerRegistry ;
18
- use Doctrine \Persistence \Mapping \ClassMetadata ;
19
19
use Doctrine \Persistence \ObjectManager ;
20
20
use Doctrine \Persistence \ObjectRepository ;
21
21
use Symfony \Bridge \Doctrine \Test \DoctrineTestHelper ;
@@ -111,7 +111,7 @@ protected function createEntityManagerMock($repositoryMock)
111
111
->willReturn ($ repositoryMock )
112
112
;
113
113
114
- $ classMetadata = $ this ->createMock (ClassMetadata ::class);
114
+ $ classMetadata = $ this ->createMock (ClassMetadataInfo ::class);
115
115
$ classMetadata
116
116
->expects ($ this ->any ())
117
117
->method ('hasField ' )
You can’t perform that action at this time.
0 commit comments