mirror of
https://github.com/silverstripe/silverstripe-docsviewer
synced 2024-10-22 11:05:56 +02:00
Add additional test case for DocumentationFolder
This commit is contained in:
parent
a4c32f0b25
commit
da77bf6821
@ -77,5 +77,14 @@ class DocumentationPageTest extends SapphireTest {
|
||||
);
|
||||
|
||||
$this->assertEquals('Basic - Sort - Doctest', $page->getBreadcrumbTitle());
|
||||
|
||||
$page = new DocumentationFolder(
|
||||
$this->entity,
|
||||
'',
|
||||
DOCSVIEWER_PATH . '/tests/docs/en/sort/'
|
||||
);
|
||||
|
||||
$this->assertEquals('Sort - Doctest', $page->getBreadcrumbTitle());
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user