silverstripe-elemental-list/tests/php/ElementListTest.php

27 lines
498 B
PHP
Raw Normal View History

<?php
namespace DNADesign\ElementalList\Tests;
use DNADesign\ElementalList\Model\ElementList;
use SilverStripe\Dev\SapphireTest;
class ElementListTest extends SapphireTest
{
public function testGetRelations(): void
{
$list = ElementList::create();
$this->assertEquals(['Elements'], $list->getElementalRelations());
}
public function testGetCmsFields(): void
{
2017-10-18 10:32:51 +02:00
// todo
}
public function testForTemplate(): void
{
2017-10-18 10:32:51 +02:00
// todo
}
}