DoctrineOneToOneTest
A Symfony project created on May 22, 2015, 10:10 pm.
Install
- clone it
composer install
- configure
./app/parameters.yml
./app/console doctrine:database:create
./app/console doctrine:schema:update --dump-sql --force
./app/console doctrine:schema:validate
Run tests
bin/phpunit -c app
See files
src/AppBundle/Entity/User.php
src/AppBundle/Entity/UserProfile.php
src/AppBundle/Tests/UserAndProfilePersistanceTest.php
See branches
master
manual_persist1
manual_persist2