diff --git a/core/lib/Thelia/Tests/Coupon/Type/RemoveXAmountTest.php b/core/lib/Thelia/Tests/Coupon/Type/RemoveXAmountTest.php index ed03a6fc3..730250967 100644 --- a/core/lib/Thelia/Tests/Coupon/Type/RemoveXAmountTest.php +++ b/core/lib/Thelia/Tests/Coupon/Type/RemoveXAmountTest.php @@ -196,22 +196,6 @@ class RemoveXAmountTest extends \PHPUnit_Framework_TestCase $this->assertEquals($expected, $actual); } - /** - * @covers Thelia\Coupon\Type\RemoveXPercent::getToolTip - */ - public function testGetInputName() - { - $inputName = 'Amount removed from the cart'; - $stubFacade = $this->generateFacadeStub(399, 'EUR', $inputName); - - /** @var FacadeInterface $stubFacade */ - $coupon = new RemoveXAmount($stubFacade); - - $actual = $coupon->getInputName(); - $expected = $inputName; - $this->assertEquals($expected, $actual); - } - /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. diff --git a/core/lib/Thelia/Tests/Coupon/Type/RemoveXPercentTest.php b/core/lib/Thelia/Tests/Coupon/Type/RemoveXPercentTest.php index 2b36d27a2..5b58f59a7 100644 --- a/core/lib/Thelia/Tests/Coupon/Type/RemoveXPercentTest.php +++ b/core/lib/Thelia/Tests/Coupon/Type/RemoveXPercentTest.php @@ -152,8 +152,6 @@ class RemoveXPercentTest extends \PHPUnit_Framework_TestCase $this->assertEquals(254, $coupon->getMaxUsage()); $this->assertEquals($date, $coupon->getExpirationDate()); - $this->assertEquals(array(RemoveXPercent::INPUT_PERCENTAGE_NAME), $coupon->getExtendedInputs()); - $this->assertEquals(40.00, $coupon->exec()); } @@ -188,22 +186,6 @@ class RemoveXPercentTest extends \PHPUnit_Framework_TestCase $this->assertEquals($expected, $actual); } - /** - * @covers Thelia\Coupon\Type\RemoveXPercent::getToolTip - */ - public function testGetInputName() - { - $inputName = 'Percentage removed from the cart'; - $stubFacade = $this->generateFacadeStub(399, 'EUR', $inputName); - - /** @var FacadeInterface $stubFacade */ - $coupon = new RemoveXPercent($stubFacade); - - $actual = $coupon->getInputName(); - $expected = $inputName; - $this->assertEquals($expected, $actual); - } - /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed.