Commit d1b4e6c6 by Vadim Belorussov Committed by Qiang Xue

Fixed #4754

parent 46a8e558
...@@ -105,4 +105,11 @@ abstract class BaseActiveFixture extends DbFixture implements \IteratorAggregate ...@@ -105,4 +105,11 @@ abstract class BaseActiveFixture extends DbFixture implements \IteratorAggregate
throw new InvalidConfigException("Fixture data file does not exist: {$this->dataFile}"); throw new InvalidConfigException("Fixture data file does not exist: {$this->dataFile}");
} }
} }
public function unload()
{
parent::unload();
$this->data = [];
$this->_models = [];
}
} }
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