doctrine / data-fixtures

Doctrine2 ORM Data Fixtures Extensions
http://www.doctrine-project.org
MIT License
2.76k stars 224 forks source link

phpspec/prophecy is now explicitely needed for tests #401

Closed DavidPrevot closed 1 year ago

DavidPrevot commented 1 year ago

Hi,

Since PHPUnit dropped phpspec/prophecy from its dependencies (https://github.com/sebastianbergmann/phpunit/issues/5033), the following error is triggered when running the testsuite with latest PHPUnit.

There was 1 error:

1) Doctrine\Tests\Common\DataFixtures\ReferenceRepositoryTest::testGetIdentifierWhenHasNotBeenManagedYetByUnitOfWork
PHPUnit\Framework\Exception: This test uses TestCase::prophesize(), but phpspec/prophecy is not installed. Please run "composer require --dev phpspec/prophecy".

Regards

David