phpunit - Force loading of extra-lazy assoc in Doctrine2 for unit testing (no DQL) -


i'm running small problem unit testing in symfony2. have few associations marked extra-lazy, fine.

however, when testing them, don't loaded (of course), means assertions fail. i'm not doing dql, entity testing.

how can tell doctrine ignore extra-lazy tag unit testing alone ?


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Socket.connect doesn't throw exception in Android -

SPSS keyboard combination alters encoding -