Skip to content

Commit 96b7329

Browse files
ISSUE-168: Updated PHPUnit to 7.5
1 parent 016fcd6 commit 96b7329

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
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"

tests/EntityTypeTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)