Add additional test case for DocumentationFolder

This commit is contained in:
Will Rossiter 2014-09-20 13:44:41 +12:00
parent a4c32f0b25
commit da77bf6821

View File

@ -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());
}
}