Revert "Fix: failing unit test (DocumentationViewerTest)"

This reverts commit aacc16c979.
This fix was based  on using docsviewer with framework 3.1-dev and
fails on 3.0.3 stable
This commit is contained in:
martimiz 2013-01-08 14:51:02 +01:00
parent aacc16c979
commit 5d51c7b446

View File

@ -110,7 +110,7 @@ class DocumentationViewerTest extends FunctionalTest {
$arr = $pages->toArray();
$page = $arr[1];
$page = $arr[2];
$this->assertEquals('Subfolder', $page->Title);
}
@ -139,10 +139,10 @@ class DocumentationViewerTest extends FunctionalTest {
// Children
$pagesArr = $pages->toArray();
$child1 = $pagesArr[2];
$child1 = $pagesArr[1];
$this->assertFalse($child1->Children);
$child2 = $pagesArr[1];
$child2 = $pagesArr[2];
$this->assertEquals(
array('subfolder/subpage.md', 'subfolder/subsubfolder/'),