File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1515 "symfony/form" : " 4.0.*"
1616 },
1717 "require-dev" : {
18- "codeclimate/php-test-reporter" : " ^0.3.2 " ,
19- "phpunit/phpunit" : " ^4.8 "
18+ "codeclimate/php-test-reporter" : " ^0.4.4 " ,
19+ "phpunit/phpunit" : " ^7.5 "
2020 },
2121 "suggest" : {
2222 "darkwebdesign/symfony-addon-pack" : " All Symfony add-ons bundled together"
Original file line number Diff line number Diff line change @@ -56,10 +56,10 @@ protected function setUp()
5656 $ this ->className = get_class ($ this ->entity );
5757 $ this ->identifier = $ this ->entity ->getId ();
5858
59- $ this ->registry = $ this ->getMock ('Doctrine\Common\Persistence\ManagerRegistry ' );
60- $ this ->entityManager = $ this ->getMock ('Doctrine\Common\Persistence\ObjectManager ' );
61- $ this ->repository = $ this ->getMock ('Doctrine\Common\Persistence\ObjectRepository ' );
62- $ this ->metadata = $ this ->getMock ('Doctrine\Common\Persistence\Mapping\ClassMetadata ' );
59+ $ this ->registry = $ this ->createMock ('Doctrine\Common\Persistence\ManagerRegistry ' );
60+ $ this ->entityManager = $ this ->createMock ('Doctrine\Common\Persistence\ObjectManager ' );
61+ $ this ->repository = $ this ->createMock ('Doctrine\Common\Persistence\ObjectRepository ' );
62+ $ this ->metadata = $ this ->createMock ('Doctrine\Common\Persistence\Mapping\ClassMetadata ' );
6363
6464 $ this ->entityManager ->method ('getRepository ' )->willReturn ($ this ->repository );
6565 $ this ->entityManager ->method ('getClassMetadata ' )->willReturn ($ this ->metadata );
You can’t perform that action at this time.
0 commit comments