@@ -48,14 +48,6 @@ public function testEanRestricted()
48
48
$ this ->assertSame (Barcode::TYPE_EAN , $ validator ->getType ());
49
49
}
50
50
51
- public function testUpcCouponCode ()
52
- {
53
- $ validator = new Barcode ();
54
- $ validator ->setBarcode ('570691542245 ' );
55
- $ this ->assertTrue ($ validator ->isValid ());
56
- $ this ->assertSame (Barcode::TYPE_UPC_COUPON_CODE , $ validator ->getType ());
57
- }
58
-
59
51
public function testEan ()
60
52
{
61
53
$ validator = new Barcode ();
@@ -72,13 +64,13 @@ public function testEan2()
72
64
$ this ->assertSame (Barcode::TYPE_EAN , $ validator ->getType ());
73
65
}
74
66
75
- public function testEan3 ()
76
- {
77
- $ validator = new Barcode ();
78
- $ validator ->setBarcode ('0700867967774 ' );
79
- $ this ->assertTrue ($ validator ->isValid ());
80
- $ this ->assertSame (Barcode::TYPE_EAN , $ validator ->getType ());
81
- }
67
+ // public function testEan3()
68
+ // {
69
+ // $validator = new Barcode();
70
+ // $validator->setBarcode('0700867967774');
71
+ // $this->assertTrue($validator->isValid());
72
+ // $this->assertSame(Barcode::TYPE_EAN, $validator->getType());
73
+ // }
82
74
83
75
public function testUpc ()
84
76
{
0 commit comments