X-Git-Url: https://git.immae.eu/?p=github%2Fshaarli%2FShaarli.git;a=blobdiff_plain;f=tests%2Fplugins%2FPluginMarkdownTest.php;h=31c1f8b7ff057d9e5c8dba9b77a654fb98ad76f3;hp=b31e817fe6093c85e7a5dbb57813a1d6f2ec0ad0;hb=a120fb2977331e0f7d7ffe05861ba179fdae8764;hpb=a4f0509a77a39d1ac834d4967e3e8f245de6d68d diff --git a/tests/plugins/PluginMarkdownTest.php b/tests/plugins/PluginMarkdownTest.php index b31e817f..31c1f8b7 100644 --- a/tests/plugins/PluginMarkdownTest.php +++ b/tests/plugins/PluginMarkdownTest.php @@ -47,6 +47,8 @@ class PluginMarkdownTest extends PHPUnit_Framework_TestCase $data = hook_markdown_render_linklist($data, $this->conf); $this->assertNotFalse(strpos($data['links'][0]['description'], '

')); $this->assertNotFalse(strpos($data['links'][0]['description'], '

')); + + $this->assertEquals($markdown, $data['links'][0]['description_src']); } /**