Commit 1053b3a2 authored by Ivan Chepurnyi's avatar Ivan Chepurnyi

Merge pull request #43 from Schrank/dev

Fatal error: Call to undefined method EcomDev_PHPUnit_Constraint_Config_...
parents 14a6447b 02487cfa
...@@ -262,7 +262,7 @@ class EcomDev_PHPUnit_Constraint_Config_Node ...@@ -262,7 +262,7 @@ class EcomDev_PHPUnit_Constraint_Config_Node
* @param Varien_Simplexml_Element $other * @param Varien_Simplexml_Element $other
* @return boolean * @return boolean
*/ */
protected function evaluateContainValue($other) protected function evaluateContainValues($other)
{ {
if ($other->hasChildren()) { if ($other->hasChildren()) {
throw new RuntimeException(sprintf( throw new RuntimeException(sprintf(
...@@ -274,7 +274,7 @@ class EcomDev_PHPUnit_Constraint_Config_Node ...@@ -274,7 +274,7 @@ class EcomDev_PHPUnit_Constraint_Config_Node
$values = explode(',', (string)$other); $values = explode(',', (string)$other);
if (!in_array($this->_expectedValue, $values)) { if (in_array($this->_expectedValue, $values)) {
return true; return true;
} }
......
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