@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | public function testIsAvailable() |
44 | 44 | { |
45 | 45 | $provider = new \Aimeos\MShop\Coupon\Provider\Example( $this->context, $this->couponItem, 'ABCD' ); |
46 | - $object = new \Aimeos\MShop\Coupon\Provider\Decorator\Once( $provider, $this->context, $this->couponItem, 'ABCD'); |
|
46 | + $object = new \Aimeos\MShop\Coupon\Provider\Decorator\Once( $provider, $this->context, $this->couponItem, 'ABCD' ); |
|
47 | 47 | $object->setObject( $object ); |
48 | 48 | |
49 | 49 | $this->assertTrue( $object->isAvailable( $this->orderBase ) ); |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | public function testIsAvailableExisting() |
54 | 54 | { |
55 | 55 | $provider = new \Aimeos\MShop\Coupon\Provider\Example( $this->context, $this->couponItem, 'OPQR' ); |
56 | - $object = new \Aimeos\MShop\Coupon\Provider\Decorator\Once( $provider, $this->context, $this->couponItem, 'OPQR'); |
|
56 | + $object = new \Aimeos\MShop\Coupon\Provider\Decorator\Once( $provider, $this->context, $this->couponItem, 'OPQR' ); |
|
57 | 57 | $object->setObject( $object ); |
58 | 58 | |
59 | 59 | $this->assertFalse( $object->isAvailable( $this->orderBase ) ); |