Commit 0188c388 authored by Ivan Chepurnyi's avatar Ivan Chepurnyi

Fix error with wrong values in comparisments

parent 235b96d2
......@@ -86,7 +86,7 @@ abstract class EcomDev_PHPUnit_Constraint_Config_Abstract
protected function getActualValue($other = null)
{
if (!$this->_useActualValue && $other->hasChildren()) {
return $this->getXmlAsDom($this->_expectedValue);
return $this->getXmlAsDom($other);
} elseif (!$this->_useActualValue) {
return (string) $other;
}
......
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