We will work on Apr 26th (Saturday) and will be off from Apr 30th (Wednesday) until May 2nd (Friday) for public holiday in our country

Commit 37228366 authored by Ivan Chepurnyi's avatar Ivan Chepurnyi

! Hotfix PHPUnit 3.6 with not assertments hungup

parent 7ff0baed
...@@ -108,4 +108,21 @@ class EcomDev_PHPUnit_Constraint_Config extends PHPUnit_Framework_Constraint ...@@ -108,4 +108,21 @@ class EcomDev_PHPUnit_Constraint_Config extends PHPUnit_Framework_Constraint
{ {
return $this->constraint->toString(); return $this->constraint->toString();
} }
/**
* Returns the description of the failure
*
* The beginning of failure messages is "Failed asserting that" in most
* cases. This method should return the second part of that sentence.
*
* To provide additional failure information additionalFailureDescription
* can be used.
*
* @param mixed $other Evaluated value or object.
* @return string
*/
protected function failureDescription($other)
{
return $this->constraint->failureDescription($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