Working
- Fix serialization not tested
This commit is contained in:
@@ -121,7 +121,7 @@ class DateParamTest extends \PHPUnit_Framework_TestCase
|
||||
* Test is the object is serializable
|
||||
* If no data is lost during the process
|
||||
*/
|
||||
protected function isSerializableTest()
|
||||
public function isSerializableTest()
|
||||
{
|
||||
$adapter = new CouponBaseAdapter();
|
||||
$dateValidator = new \DateTime("2012-07-08");
|
||||
|
||||
@@ -123,7 +123,7 @@ class IntegerParamTest extends \PHPUnit_Framework_TestCase
|
||||
* Test is the object is serializable
|
||||
* If no data is lost during the process
|
||||
*/
|
||||
protected function isSerializableTest()
|
||||
public function isSerializableTest()
|
||||
{
|
||||
$adapter = new CouponBaseAdapter();
|
||||
$intValidator = 42;
|
||||
|
||||
@@ -147,7 +147,7 @@ class IntervalParamTest extends \PHPUnit_Framework_TestCase
|
||||
* Test is the object is serializable
|
||||
* If no data is lost during the process
|
||||
*/
|
||||
protected function isSerializableTest()
|
||||
public function isSerializableTest()
|
||||
{
|
||||
$adapter = new CouponBaseAdapter();
|
||||
$dateValidatorStart = new \DateTime("2012-07-08");
|
||||
|
||||
@@ -199,7 +199,7 @@ class PriceParamTest extends \PHPUnit_Framework_TestCase
|
||||
* Test is the object is serializable
|
||||
* If no data is lost during the process
|
||||
*/
|
||||
protected function isSerializableTest()
|
||||
public function isSerializableTest()
|
||||
{
|
||||
$adapter = new CouponBaseAdapter();
|
||||
$priceValidator = 42.50;
|
||||
|
||||
@@ -159,7 +159,7 @@ class QuantityParamTest extends \PHPUnit_Framework_TestCase
|
||||
* Test is the object is serializable
|
||||
* If no data is lost during the process
|
||||
*/
|
||||
protected function isSerializableTest()
|
||||
public function isSerializableTest()
|
||||
{
|
||||
$adapter = new CouponBaseAdapter();
|
||||
$intValidator = 42;
|
||||
|
||||
@@ -270,7 +270,7 @@ class RepeatedDateParamTest extends \PHPUnit_Framework_TestCase
|
||||
* Test is the object is serializable
|
||||
* If no data is lost during the process
|
||||
*/
|
||||
protected function isSerializableTest()
|
||||
public function isSerializableTest()
|
||||
{
|
||||
$adapter = new CouponBaseAdapter();
|
||||
$startDateValidator = new \DateTime("2012-07-08");
|
||||
|
||||
@@ -383,7 +383,7 @@ class RepeatedIntervalParamTest extends \PHPUnit_Framework_TestCase
|
||||
* Test is the object is serializable
|
||||
* If no data is lost during the process
|
||||
*/
|
||||
protected function isSerializableTest()
|
||||
public function isSerializableTest()
|
||||
{
|
||||
$adapter = new CouponBaseAdapter();
|
||||
$startDateValidator = new \DateTime("2012-07-08");
|
||||
|
||||
Reference in New Issue
Block a user