ZF-7492: Error in docs for example 53.3 "Integrating Database Testing with the ControllerTestCase" - "Database integration example"
Description
Example 52.3 contains the following line in the setupDatabase() method:
$connection = Zend_Test_PHPUnit_Db_Connection($db, 'database_schema_name');
It is missing the "new" keyword. Should read:
$connection = new Zend_Test_PHPUnit_Db_Connection($db, 'database_schema_name');
Comments
Posted by Matthew Weier O'Phinney (matthew) on 2009-08-05T12:22:36.000+0000
Assigning to Benjamin Eberlei
Posted by Benjamin Eberlei (beberlei) on 2009-08-05T12:36:16.000+0000
Fixed