| Total Complexity | 3 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class ChecExtensionTest extends SapphireTest |
||
| 11 | { |
||
| 12 | protected static $fixture_file = 'ChecShortcodeTest.yml'; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var SiteTree&ChecExtension |
||
| 16 | */ |
||
| 17 | private $page; |
||
| 18 | |||
| 19 | protected function setUp() |
||
| 20 | { |
||
| 21 | parent::setUp(); |
||
| 22 | $this->page = $this->objFromFixture(SiteTree::class, 'test'); |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Tests that a non-empty result is returned. |
||
| 27 | */ |
||
| 28 | public function testGetChecJs() |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Allow the JS to be disabled if desired |
||
| 37 | */ |
||
| 38 | public function testGetChecJsIgnoresIfFalsy() |
||
| 43 | } |
||
| 44 | } |
||
| 45 |