Removed no longer useful tests

This commit is contained in:
Franck Allimant
2014-05-30 20:12:23 +02:00
parent 0683d20d2c
commit d9164495d3
2 changed files with 0 additions and 34 deletions

View File

@@ -196,22 +196,6 @@ class RemoveXAmountTest extends \PHPUnit_Framework_TestCase
$this->assertEquals($expected, $actual); $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. * Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed. * This method is called after a test is executed.

View File

@@ -152,8 +152,6 @@ class RemoveXPercentTest extends \PHPUnit_Framework_TestCase
$this->assertEquals(254, $coupon->getMaxUsage()); $this->assertEquals(254, $coupon->getMaxUsage());
$this->assertEquals($date, $coupon->getExpirationDate()); $this->assertEquals($date, $coupon->getExpirationDate());
$this->assertEquals(array(RemoveXPercent::INPUT_PERCENTAGE_NAME), $coupon->getExtendedInputs());
$this->assertEquals(40.00, $coupon->exec()); $this->assertEquals(40.00, $coupon->exec());
} }
@@ -188,22 +186,6 @@ class RemoveXPercentTest extends \PHPUnit_Framework_TestCase
$this->assertEquals($expected, $actual); $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. * Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed. * This method is called after a test is executed.