| Total Complexity | 2 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class SimpleShippingModifierTest extends SapphireTest |
||
| 14 | { |
||
| 15 | public function setUp(): void |
||
| 16 | { |
||
| 17 | parent::setUp(); |
||
| 18 | Config::modify() |
||
| 19 | ->set(Simple::class, 'default_charge', 10) |
||
| 20 | ->set( |
||
| 21 | Simple::class, |
||
| 22 | 'charges_for_countries', |
||
| 23 | [ |
||
| 24 | 'NZ' => 5, |
||
| 25 | 'UK' => 20, |
||
| 26 | ] |
||
| 27 | ); |
||
| 28 | } |
||
| 29 | |||
| 30 | public function testShippingCalculation() |
||
| 35 | } |
||
| 36 | } |
||
| 37 |