| Total Complexity | 2 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | class ShippableTest extends SapphireTest |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var string |
||
| 24 | */ |
||
| 25 | protected static $fixture_file = '../fixtures.yml'; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var array |
||
| 29 | */ |
||
| 30 | protected static $extra_dataobjects = [ |
||
| 31 | TestProduct::class, |
||
| 32 | TestVariation::class, |
||
| 33 | ]; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @var \string[][] |
||
| 37 | */ |
||
| 38 | protected static $required_extensions = [ |
||
| 39 | TestProduct::class => [ |
||
| 40 | Purchasable::class, |
||
| 41 | ], |
||
| 42 | ]; |
||
| 43 | |||
| 44 | /** |
||
| 45 | * |
||
| 46 | */ |
||
| 47 | public function setUp() |
||
| 48 | { |
||
| 49 | Config::modify()->set(Variation::class, 'has_one', ['Product' => TestProduct::class]); |
||
| 50 | |||
| 51 | return parent::setUp(); |
||
| 52 | } |
||
| 53 | |||
| 54 | /** |
||
| 55 | * |
||
| 56 | */ |
||
| 57 | public function testUpdateCMSFields() |
||
| 62 | } |
||
| 63 | } |
||
| 64 |