Skip to content
This repository has been archived by the owner on May 16, 2018. It is now read-only.

Zend_Test_PHPUnit_Db_Connection does not implement it's own getRowCount method #707

Open
jonsa opened this issue Jun 21, 2016 · 0 comments

Comments

@jonsa
Copy link

jonsa commented Jun 21, 2016

PHPUnit_Extensions_Database_DB_DefaultDatabaseConnection::getRowCount() uses PHPUnit_Extensions_Database_DB_DefaultDatabaseConnection::$connection when called. That variable is null since Zend_Test_PHPUnit_Db_Connection overrides the constructor and never calls the parent.

This in turn results in Fatal error: Call to a member function query() on a non-object when calling Zend_Test_PHPUnit_Db_Connection::getRowCount()

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants