Remove outdated dependancy. Fixes #46

This commit is contained in:
Will Rossiter 2014-08-01 16:45:09 +12:00
parent 1b0a5c519d
commit afe229d343
2 changed files with 0 additions and 21 deletions

View File

@ -15,7 +15,6 @@
}],
"require": {
"silverstripe/framework": "~3.1",
"erusev/parsedown": "dev-fixgreaterthan as ~1.0",
"erusev/parsedown-extra": "0.1.0"
},
"repositories": [{

View File

@ -246,26 +246,6 @@ HTML;
$this->assertEquals("Foo Bar's Test page.", $page->Title);
}
function testParserConvertsSpecialCharacters() {
$page = new DocumentationPage();
$page->setRelativePath('CodeSnippets.md');
$page->setEntity(new DocumentationEntity('parser', '2.4', DOCSVIEWER_PATH . '/tests/docs-parser/'));
$parsed = DocumentationParser::parse($page, '/'.DOCSVIEWER_DIR .'/tests/docs-parser/');
// header elements parsed
$this->assertContains(
'<% control Foo %>',
$parsed
);
// paragraphs
$this->assertContains(
'<% foo %>',
$parsed
);
}
function testRewritingRelativeLinksToFiles() {
$folder = DOCSVIEWER_PATH . '/tests/docs-parser/';