Ok, I did set below in setUp function in ticket class:
$driverImpl = new StaticPHPDriver('Doctrine\Tests\Models\Nima');
$config = $this->_em->getConfiguration();
$config->setMetadataDriverImpl($driverImpl);
And now I am getting this: to what should I change the line below?
public static function loadMetadata(ClassMetadata $metadata) {
I am getting this due to line above:
Doctrine\Tests\ORM\Functional\Ticket\DDC030414Test::testSomething
Argument 1 passed to Doctrine\Tests\Models\Nima\Something::loadMetadata()
must be an instance of Doctrine\Tests\Models\Nima\ClassMetadata, instance
of Doctrine\ORM\Mapping\ClassMetadata given, called in
/doctrine2/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/StaticPHPDriver.php
on line 79 and defined
--
You received this message because you are subscribed to the Google Groups
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.