| Total Complexity | 2 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class TaxRateTest extends SapphireTest |
||
| 16 | { |
||
| 17 | |||
| 18 | protected static $fixture_file = 'TaxData.yml'; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Setup test only objects |
||
| 22 | * |
||
| 23 | * @var array |
||
| 24 | */ |
||
| 25 | protected static $extra_dataobjects = [ |
||
| 26 | TestProduct::class |
||
| 27 | ]; |
||
| 28 | |||
| 29 | public function setUp() |
||
| 30 | { |
||
| 31 | parent::setUp(); |
||
| 32 | Config::inst()->set(Region::class, "create_on_build", false); |
||
|
|
|||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Test that Tax Rate returns an accurate list |
||
| 37 | */ |
||
| 38 | public function testZonesList() |
||
| 45 | } |
||
| 46 | } |
||
| 47 |