mirror of
https://github.com/dnadesign/silverstripe-elemental-list.git
synced 2024-10-22 11:05:47 +02:00
27 lines
498 B
PHP
27 lines
498 B
PHP
<?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
|
|
{
|
|
// todo
|
|
}
|
|
|
|
public function testForTemplate(): void
|
|
{
|
|
// todo
|
|
}
|
|
}
|