From 23b294dcc987db5d63d6b80858a2b8683b57e580 Mon Sep 17 00:00:00 2001 From: gmorel Date: Sat, 23 Nov 2013 20:21:52 +0100 Subject: [PATCH] Fix generated unit test stub files --- core/lib/Thelia/Tests/Coupon/BaseFacadeTest.php | 5 ----- core/lib/Thelia/Tests/Coupon/CouponFactoryTest.php | 4 ---- core/lib/Thelia/Tests/Coupon/CouponManagerTest.php | 5 ----- core/lib/Thelia/Tests/Coupon/Type/CouponAbstractTest.php | 5 ----- .../Thelia/Tests/Coupon/Type/RemoveXAmountManagerTest.php | 5 ----- .../Thelia/Tests/Coupon/Type/RemoveXPercentManagerTest.php | 5 ----- 6 files changed, 29 deletions(-) diff --git a/core/lib/Thelia/Tests/Coupon/BaseFacadeTest.php b/core/lib/Thelia/Tests/Coupon/BaseFacadeTest.php index 75ec32382..6e1619aac 100644 --- a/core/lib/Thelia/Tests/Coupon/BaseFacadeTest.php +++ b/core/lib/Thelia/Tests/Coupon/BaseFacadeTest.php @@ -37,10 +37,6 @@ namespace Thelia\Coupon; */ class BaseFacadeTest extends \PHPUnit_Framework_TestCase { - /** - * @var BaseFacade - */ - protected $object; /** * Sets up the fixture, for example, opens a network connection. @@ -48,7 +44,6 @@ class BaseFacadeTest extends \PHPUnit_Framework_TestCase */ protected function setUp() { - $this->object = new BaseFacade; } /** diff --git a/core/lib/Thelia/Tests/Coupon/CouponFactoryTest.php b/core/lib/Thelia/Tests/Coupon/CouponFactoryTest.php index 97804e9da..218b70611 100644 --- a/core/lib/Thelia/Tests/Coupon/CouponFactoryTest.php +++ b/core/lib/Thelia/Tests/Coupon/CouponFactoryTest.php @@ -45,10 +45,6 @@ use Thelia\Model\CurrencyQuery; */ class CouponFactoryTest extends \PHPUnit_Framework_TestCase { - /** - * @var CouponFactory - */ - protected $object; /** * Sets up the fixture, for example, opens a network connection. diff --git a/core/lib/Thelia/Tests/Coupon/CouponManagerTest.php b/core/lib/Thelia/Tests/Coupon/CouponManagerTest.php index 2a33271bf..07c6bc597 100644 --- a/core/lib/Thelia/Tests/Coupon/CouponManagerTest.php +++ b/core/lib/Thelia/Tests/Coupon/CouponManagerTest.php @@ -37,10 +37,6 @@ namespace Thelia\Coupon; */ class CouponManagerTest extends \PHPUnit_Framework_TestCase { - /** - * @var CouponManager - */ - protected $object; /** * Sets up the fixture, for example, opens a network connection. @@ -48,7 +44,6 @@ class CouponManagerTest extends \PHPUnit_Framework_TestCase */ protected function setUp() { - $this->object = new CouponManager; } /** diff --git a/core/lib/Thelia/Tests/Coupon/Type/CouponAbstractTest.php b/core/lib/Thelia/Tests/Coupon/Type/CouponAbstractTest.php index 82a4fc0a4..184f1ef29 100644 --- a/core/lib/Thelia/Tests/Coupon/Type/CouponAbstractTest.php +++ b/core/lib/Thelia/Tests/Coupon/Type/CouponAbstractTest.php @@ -37,10 +37,6 @@ namespace Thelia\Coupon\Type; */ class CouponAbstractTest extends \PHPUnit_Framework_TestCase { - /** - * @var CouponAbstract - */ - protected $object; /** * Sets up the fixture, for example, opens a network connection. @@ -48,7 +44,6 @@ class CouponAbstractTest extends \PHPUnit_Framework_TestCase */ protected function setUp() { -// $this->object = new CouponAbstract(); } /** diff --git a/core/lib/Thelia/Tests/Coupon/Type/RemoveXAmountManagerTest.php b/core/lib/Thelia/Tests/Coupon/Type/RemoveXAmountManagerTest.php index cdfa7c875..c15fa7379 100644 --- a/core/lib/Thelia/Tests/Coupon/Type/RemoveXAmountManagerTest.php +++ b/core/lib/Thelia/Tests/Coupon/Type/RemoveXAmountManagerTest.php @@ -37,10 +37,6 @@ namespace Thelia\Coupon\Type; */ class RemoveXAmountTest extends \PHPUnit_Framework_TestCase { - /** - * @var RemoveXAmount - */ - protected $object; /** * Sets up the fixture, for example, opens a network connection. @@ -48,7 +44,6 @@ class RemoveXAmountTest extends \PHPUnit_Framework_TestCase */ protected function setUp() { -// $this->object = new RemoveXAmount; } /** diff --git a/core/lib/Thelia/Tests/Coupon/Type/RemoveXPercentManagerTest.php b/core/lib/Thelia/Tests/Coupon/Type/RemoveXPercentManagerTest.php index 28123ea83..fad80a389 100644 --- a/core/lib/Thelia/Tests/Coupon/Type/RemoveXPercentManagerTest.php +++ b/core/lib/Thelia/Tests/Coupon/Type/RemoveXPercentManagerTest.php @@ -37,10 +37,6 @@ namespace Thelia\Coupon\Type; */ class RemoveXPercentTest extends \PHPUnit_Framework_TestCase { - /** - * @var RemoveXPercent - */ - protected $object; /** * Sets up the fixture, for example, opens a network connection. @@ -48,7 +44,6 @@ class RemoveXPercentTest extends \PHPUnit_Framework_TestCase */ protected function setUp() { -// $this->object = new RemoveXPercent; } /**