X-Git-Url: https://git.immae.eu/?p=github%2Fshaarli%2FShaarli.git;a=blobdiff_plain;f=tests%2Fplugins%2FPluginMarkdownTest.php;h=44364b05b5f4a14036e432a51fdc539668ac39dd;hp=319a94ba835ccfaeadfc917e487d35cb7a584165;hb=e95247d41dbe3b46c83d97f2a9d0e7bd1194bf08;hpb=a062416918c964e7551137c08b5b5671e6e2bb7e diff --git a/tests/plugins/PluginMarkdownTest.php b/tests/plugins/PluginMarkdownTest.php index 319a94ba..44364b05 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']); } /**