From da77bf6821cd1ddb60d8cca596a029dc43f15179 Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Sat, 20 Sep 2014 13:44:41 +1200 Subject: [PATCH] Add additional test case for DocumentationFolder --- tests/DocumentationPageTest.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/DocumentationPageTest.php b/tests/DocumentationPageTest.php index 67a72a1..0ed9966 100755 --- a/tests/DocumentationPageTest.php +++ b/tests/DocumentationPageTest.php @@ -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()); + } } \ No newline at end of file