Details
-
Type:
Unit Tests: Problem
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.9.2, 1.9.3, 1.9.4, 1.9.5, 1.9.6, 1.9.7, 1.10.0, 1.10.1
-
Fix Version/s: 1.10.7
-
Component/s: Zend_Db_Profiler
-
Labels:None
Description
Zend_Db_Profiler_FirebugTest fails to tearDown() correctly when you don't have the pecl PDO_SQLITE extension installed.
"Fatal error: Call to a member function getConnection() on a non-object in .../release-1.9.2/tests/Zend/Db/Profiler/FirebugTest.php on line 104"
A fix would be to check to see if the PDO_SQLITE extension is loaded at the top of the tearDown() function
I have created a patch to solve this problem!