I am writing phpunit tesdtcases.In one of my function, it uses plugin the
database and transactionservice.Now in phpunit, how to call call those
plugins.

i have plugins like this 

class My_Plugin_Database extends Zend_Controller_Plugin_Abstract {

        public function dispatchLoopStartup(Zend_Controller_Request_Abstract
$request) {
                
                Zend_Registry::set('transactionService', new MY_Transaction(
                        My_Model_Service_Log::getInstance($module)));           

I phpunit, it throws errors when executing the function that uses this
service.Any help on how use the plugins defined in code in phpunit.

        

--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Unit-Test-Plugins-loaded-multiple-times-tp3213501p3919698.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to