@@ -21,7 +21,6 @@ |
||
21 | 21 | use Sylius\Component\Addressing\Model\CountryInterface; |
22 | 22 | use Sylius\Component\Addressing\Model\ProvinceInterface; |
23 | 23 | use Sylius\Component\Addressing\Model\ZoneInterface; |
24 | -use Sylius\Component\Addressing\Model\ZoneMember; |
|
25 | 24 | use Sylius\Component\Addressing\Model\ZoneMemberInterface; |
26 | 25 | use Webmozart\Assert\Assert; |
27 | 26 |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | $this->assertInstanceOf(SalesSummary::class, $salesSummary); |
97 | 97 | $this->assertSame($expectedPeriods, $salesSummary->getIntervals()); |
98 | 98 | $this->assertSame( |
99 | - ['70.00', '40.00' ,'0.00' ,'0.00' ,'0.00' ,'0.00' ,'0.00' ,'0.00' ,'0.00' ,'0.00' ,'0.00' ,'0.00'], |
|
99 | + ['70.00', '40.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00'], |
|
100 | 100 | $salesSummary->getSales() |
101 | 101 | ); |
102 | 102 | } |
@@ -114,8 +114,8 @@ discard block |
||
114 | 114 | $this->assertSame($expectedPeriods, $salesSummary->getIntervals()); |
115 | 115 | $this->assertSame( |
116 | 116 | [ |
117 | - '0.00', '0.00' ,'0.00' ,'0.00' ,'0.00' ,'0.00' ,'0.00' ,'0.00' ,'0.00' ,'0.00' ,'0.00' ,'20.00', |
|
118 | - '70.00', '40.00' ,'0.00' ,'0.00' ,'0.00' ,'0.00' ,'0.00' ,'0.00' ,'0.00' ,'0.00' ,'0.00' ,'0.00' |
|
117 | + '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '20.00', |
|
118 | + '70.00', '40.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00' |
|
119 | 119 | ], |
120 | 120 | $salesSummary->getSales() |
121 | 121 | ); |
@@ -28,7 +28,7 @@ |
||
28 | 28 | function it_has_intervals_list(): void |
29 | 29 | { |
30 | 30 | $this->getIntervals()->shouldReturn( |
31 | - [9, 10 ,11] |
|
31 | + [9, 10, 11] |
|
32 | 32 | ); |
33 | 33 | } |
34 | 34 |