Completed
Pull Request — master (#173)
by Matthew
12:39
created

LocatorTest::testGetPageCategories()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
3
namespace Dynamic\Locator\Tests;
4
5
use Dynamic\Locator\Locator;
6
7
use SilverStripe\Forms\FieldList;
8
use SilverStripe\Dev\FunctionalTest;
9
10
/**
11
 * Class LocatorTest
12
 */
13
class LocatorTest extends LocatorTest_Base
14
{
15
16
    /**
17
     *
18
     */
19
    public function testGetCMSFields()
20
    {
21
        $locator = singleton(Locator::class);
22
        $this->assertInstanceOf(FieldList::class, $locator->getCMSFields());
23
    }
24
}
25