Skip to content

Instantly share code, notes, and snippets.

@mvnp
Last active July 5, 2020 15:10
Show Gist options
  • Save mvnp/e01ad75a7ed7e8bbbe1b34e52b990922 to your computer and use it in GitHub Desktop.
Save mvnp/e01ad75a7ed7e8bbbe1b34e52b990922 to your computer and use it in GitHub Desktop.
1) DoctrineNaPratica\Model\UserTest::testUser
Error: Call to undefined method Doctrine\Common\Collections\ArrayCollection::unwrap()
/home/marcos/Documents/Doctrine/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:784
/home/marcos/Documents/Doctrine/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:687
/home/marcos/Documents/Doctrine/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:404
/home/marcos/Documents/Doctrine/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:711
/home/marcos/Documents/Doctrine/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:297
/home/marcos/Documents/Doctrine/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:340
/home/marcos/Documents/Doctrine/tests/src/DoctrineNaPratica/Model/UserTest.php:23
ERRORS!
Tests: 1, Assertions: 0, Errors: 1.
Generating code coverage report in HTML format ... done [00:00.165]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment