Skip to content
This repository was archived by the owner on May 16, 2018. It is now read-only.
This repository was 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

Description

@jonsa

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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions