- Fix serialization not tested
This commit is contained in:
gmorel
2013-08-28 19:45:21 +02:00
parent 1d87708d3b
commit 6f31460be6
7 changed files with 7 additions and 7 deletions

View File

@@ -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");

View File

@@ -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;

View File

@@ -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");

View File

@@ -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;

View File

@@ -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;

View File

@@ -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");

View File

@@ -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");