Commit 9fcb56c5 authored by Mike Pretzlaw's avatar Mike Pretzlaw

Assure inheritance from correct abstract class

for Mage 1.5.1.0
parent 0646c0b2
...@@ -97,7 +97,7 @@ class EcomDev_PHPUnit_Model_Mysql4_Db_Info implements EcomDev_PHPUnit_Model_Mysq ...@@ -97,7 +97,7 @@ class EcomDev_PHPUnit_Model_Mysql4_Db_Info implements EcomDev_PHPUnit_Model_Mysq
*/ */
public function setAdapter($adapter) public function setAdapter($adapter)
{ {
if (!($adapter instanceof Varien_Db_Adapter_Interface)) if (!($adapter instanceof Zend_Db_Adapter_Abstract))
{ {
throw new InvalidArgumentException('Unsupported adapter ' . get_class($adapter)); throw new InvalidArgumentException('Unsupported adapter ' . get_class($adapter));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment