I am trying to unit test my models using Doctrine. I have followed the examples on the Doctrine website however because I am integrating with Zend Framework 1.10, I need to tweak it slightly i.e. custom bootstrap that contains some from Zend Framework & some from Doctrine.
The error I am getting is...
Code:
Unexpected PDOException thrown in [Default_Model_BrowserTest] with message [could not find driver] in /var/www/vhosts/realbrowser.svn/trunk/library/Doctrine-1.2.1/tests/DoctrineTest/Doctrine_UnitTestCase.php on line 138
However I am able to get data out of the database so there is a connection and I am using MySQL not PDO.