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

testUpdateCMSFields()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 5
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 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
}