Code Duplication    Length = 7-7 lines in 2 locations

tests/FoxyStripeInventoryManagerTest.php 1 location

@@ 8-14 (lines=7) @@
5
    /**
6
     *
7
     */
8
    public function testUpdateCMSFields()
9
    {
10
        $object = $this->objFromFixture('TestProduct', 'one');
11
        $fields = $object->getCMSFields();
12
        $this->assertInstanceOf('FieldList', $fields);
13
        $this->assertNotNull($fields->dataFieldByName('ControlInventory'));
14
    }
15
16
    /**
17
     *

tests/FoxyStripeOptionInventoryManagerTest.php 1 location

@@ 8-14 (lines=7) @@
5
    /**
6
     *
7
     */
8
    public function testUpdateCMSFields()
9
    {
10
        $object = $this->objFromFixture('TestOption', 'one');
11
        $fields = $object->getCMSFields();
12
        $this->assertInstanceOf('FieldList', $fields);
13
        $this->assertNotNull($fields->dataFieldByName('ControlInventory'));
14
    }
15
}