File tree Expand file tree Collapse file tree 3 files changed +2
-8
lines changed Expand file tree Collapse file tree 3 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 1414 "symfony/cache" : " ^5.3" ,
1515 "wmde/fundraising-phpcs" : " ~5.0" ,
1616 "phpmd/phpmd" : " ~2.6" ,
17- "phpstan/phpstan" : " ^0.12 " ,
18- "phpstan/phpstan-phpunit" : " ^0.12 "
17+ "phpstan/phpstan" : " ^1.2 " ,
18+ "phpstan/phpstan-phpunit" : " ^1.0 "
1919 },
2020 "repositories" : [
2121 {
Original file line number Diff line number Diff line change 1919class DoctrineAddressChangeRepositoryTest extends TestCase {
2020
2121 private const VALID_UPDATE_TOKEN_PERSONAL_DONATION = '2a54c0a1-fc94-4ef8-8b0a-7c2ed8565521 ' ;
22- private const VALID_UPDATE_TOKEN_PERSONAL_MEMBERSHIP = 'ce4449f9-8317-41fa-acc3-4a878e26845d ' ;
2322 private const VALID_UPDATE_TOKEN_COMPANY_DONATION = 'c52258ba-fed1-476a-a7e5-c721df087c12 ' ;
24- private const VALID_UPDATE_TOKEN_COMPANY_MEMBERSHIP = '8d11d2ba-5ec5-4ec8-a08c-0ac7b8654b59 ' ;
2523 private const INVALID_UPDATE_TOKEN = '72dfed91-fa40-4af0-9e80-c6010ab29cd1 ' ;
2624 private const DUMMY_DONATION_ID = 0 ;
2725
Original file line number Diff line number Diff line change 44
55namespace WMDE \Fundraising \AddressChangeContext \Tests \Unit \Domain \Model ;
66
7- use Doctrine \ORM \EntityManager ;
87use PHPUnit \Framework \TestCase ;
98use WMDE \Fundraising \AddressChangeContext \Domain \Model \AddressChange ;
109use WMDE \Fundraising \AddressChangeContext \Domain \Model \AddressChangeId ;
1110use WMDE \Fundraising \AddressChangeContext \Tests \Data \ValidAddress ;
12- use WMDE \Fundraising \AddressChangeContext \Tests \TestEnvironment ;
1311
1412/**
1513 * @covers \WMDE\Fundraising\AddressChangeContext\Domain\Model\AddressChange
@@ -18,12 +16,10 @@ class AddressChangeTest extends TestCase {
1816
1917 private const DUMMY_DONATION_ID = 0 ;
2018
21- private EntityManager $ entityManager ;
2219 private AddressChangeId $ identifier ;
2320 private AddressChangeId $ newIdentifier ;
2421
2522 public function setUp (): void {
26- $ this ->entityManager = TestEnvironment::newInstance ()->getEntityManager ();
2723 $ this ->identifier = AddressChangeId::fromString ( 'c956688a-89e8-41b7-b93e-7e4cf3d6c826 ' );
2824 $ this ->newIdentifier = AddressChangeId::fromString ( 'e0c4db0b-9049-462c-8c76-c4f6a3a75091 ' );
2925 }
You can’t perform that action at this time.
0 commit comments