Issues

ZF-7492: Error in docs for example 53.3 "Integrating Database Testing with the ControllerTestCase" - "Database integration example"

Issue Type: Docs: Problem Created: 2009-08-05T12:10:17.000+0000 Last Updated: 2009-08-05T12:36:17.000+0000 Status: Resolved Fix version(s): - Next Major Release ()

Reporter: Marc Hodgins (mjh_ca) Assignee: Benjamin Eberlei (beberlei) Tags: - Zend_Test_PHPUnit

Related issues: Attachments:

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

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts