From 45fabcfdd61fe5daef19bd09919ac2b4dc601d16 Mon Sep 17 00:00:00 2001 From: gmorel Date: Wed, 25 Sep 2013 16:47:01 +0200 Subject: [PATCH] WIP : Refactor contraint/rule becomes conditions (more generic) --- core/lib/Thelia/Tests/Condition/ConstraintFactoryTest.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/lib/Thelia/Tests/Condition/ConstraintFactoryTest.php b/core/lib/Thelia/Tests/Condition/ConstraintFactoryTest.php index 8efc4d38f..412f81b3a 100644 --- a/core/lib/Thelia/Tests/Condition/ConstraintFactoryTest.php +++ b/core/lib/Thelia/Tests/Condition/ConstraintFactoryTest.php @@ -55,6 +55,12 @@ class ConditionFactoryTest extends \PHPUnit_Framework_TestCase */ public function testBuild() { + $stubContainer = $this->getMockBuilder('\Symfony\Component\DependencyInjection\Container') + ->disableOriginalConstructor() + ->getMock(); + + + $stubTranslator = $this->getMockBuilder('\Thelia\Core\Translation\Translator') ->disableOriginalConstructor() ->getMock();