Commit fc9c410c authored by Jonathan Zahedieh's avatar Jonathan Zahedieh

fixes #204 cast 2nd $modelClass to (string)

parent b14892ed
......@@ -128,7 +128,7 @@ class EcomDev_PHPUnit_Model_Config extends Mage_Core_Model_Config
return parent::getModelInstance((string)$modelClass, $constructArguments);
}
return $this->_replaceInstanceCreation['model'][$modelClass];
return $this->_replaceInstanceCreation['model'][(string)$modelClass];
}
/**
......
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