#1218: PHPUnit testing not working in 1.0.2-RC4
-----------------------------------+----------------------------------------
 Reporter:  v.liutau...@…          |       Owner:  felix   
     Type:  defect                 |      Status:  new     
 Priority:  normal                 |   Milestone:  1.0.2   
Component:  testing                |     Version:  1.0.2RC4
 Severity:  normal                 |    Keywords:          
Has_patch:  0                      |  
-----------------------------------+----------------------------------------

Comment(by v.liutau...@…):

 Found what is cousing this errors, in Doctrine 1.1 i was using
 beginTransaction/end...() in unit tests
 now i have to comment out this line, to remove exception error


 {{{

    protected function setUp()
    {
 //   !!!!
 $this->getContext()->getDatabaseConnection()->beginTransaction();
              $this->manager =
 $this->getContext()->getModel('Users.Manager');
    }

 }}}

-- 
Ticket URL: <http://trac.agavi.org/ticket/1218#comment:2>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5



_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets

Reply via email to