Working cleaning

This commit is contained in:
gmorel
2013-10-21 23:09:04 +02:00
parent 42aa46905b
commit 9c7c4e851e
17 changed files with 37 additions and 2185 deletions

View File

@@ -630,35 +630,6 @@ class MatchForXArticlesManagerTest extends \PHPUnit_Framework_TestCase
}
// public function testGetValidators()
// {
// $stubFacade = $this->getMockBuilder('\Thelia\Coupon\BaseFacade')
// ->disableOriginalConstructor()
// ->getMock();
//
// $stubFacade->expects($this->any())
// ->method('getNbArticlesInCart')
// ->will($this->returnValue(4));
//
// $condition1 = new MatchForXArticlesManager($stubFacade);
// $operators = array(
// MatchForXArticlesManager::INPUT1 => Operators::SUPERIOR
// );
// $values = array(
// MatchForXArticlesManager::INPUT1 => 4
// );
// $condition1->setValidatorsFromForm($operators, $values);
//
// $expected = array(
// $operators,
// $values
// );
// $actual = $condition1->getValidators();
//
// $this->assertEquals($expected, $actual);
//
// }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.