Commit 59a15d7e authored by Ivan Chepurnyi's avatar Ivan Chepurnyi

- Removed redundant setTestData() call in fixture

+ Added @deprecated annotation to _getComplexLoader() method
parent 320f9c87
...@@ -153,17 +153,6 @@ class EcomDev_PHPUnit_Model_Fixture ...@@ -153,17 +153,6 @@ class EcomDev_PHPUnit_Model_Fixture
protected $_currentScope = array(); protected $_currentScope = array();
/**
* Model constructor, just defines which resource model to use
* (non-PHPdoc)
* @see Varien_Object::_construct()
*/
protected function _construct()
{
// Additional property for test data fixture
$this->setTestData(new Varien_Object());
}
/** /**
* Set fixture options * Set fixture options
* *
...@@ -622,6 +611,7 @@ class EcomDev_PHPUnit_Model_Fixture ...@@ -622,6 +611,7 @@ class EcomDev_PHPUnit_Model_Fixture
* @param string $entityType * @param string $entityType
* @param string $dataType * @param string $dataType
* @return EcomDev_PHPUnit_Model_Mysql4_Fixture * @return EcomDev_PHPUnit_Model_Mysql4_Fixture
* @deprecated since 0.3.0
*/ */
protected function _getComplexLoader($entityType, $dataType) protected function _getComplexLoader($entityType, $dataType)
{ {
......
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