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

FoxyStripeOptionInventoryManagerTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 4
dl 0
loc 10
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A testUpdateCMSFields() 0 5 1
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
}