@tsteur opened this Pull Request on June 5th 2018 Member

Currently, we always create a new DB connection after each test. If a class holds a reference to it say eg

public function __construct(){
    $this->db = Db::get();

Then eventually all tests will fail with the error Zend_Db_Adapter_Exception: SQLSTATE[08004] [1040] Too many connections.

Tried using Db::destroyDatabaseObject();Db::createDatabaseObject() instead but it didn't work.

Will need to see if tests succeed.

This Pull Request was closed on June 5th 2018
Powered by GitHub Issue Mirror