Completed
Pull Request — master (#7)
by Jason
12:37
created

FoxyStripeOptionInventoryManagerTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 12
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Dynamic\FoxyStripe\Test;
4
use Dynamic\FoxyStripe\Test\TestOption;
5
use SilverStripe\Forms\FieldList;
6
7
8
9
10
11
class FoxyStripeOptionInventoryManagerTest extends FoxyStripeInventoryTest
12
{
13
    /**
14
     *
15
     */
16
    public function testUpdateCMSFields()
17
    {
18
        $object = $this->objFromFixture(TestOption::class, 'one');
19
        $fields = $object->getCMSFields();
20
        $this->assertInstanceOf(FieldList::class, $fields);
21
    }
22
}