aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/plugins/PluginMarkdownTest.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2018-10-06 13:31:07 +0200
committerGitHub <noreply@github.com>2018-10-06 13:31:07 +0200
commite95247d41dbe3b46c83d97f2a9d0e7bd1194bf08 (patch)
tree811f5f69ec5c8a364c853b146fcf88c014a28042 /tests/plugins/PluginMarkdownTest.php
parenta062416918c964e7551137c08b5b5671e6e2bb7e (diff)
parenta120fb2977331e0f7d7ffe05861ba179fdae8764 (diff)
downloadShaarli-e95247d41dbe3b46c83d97f2a9d0e7bd1194bf08.tar.gz
Shaarli-e95247d41dbe3b46c83d97f2a9d0e7bd1194bf08.tar.zst
Shaarli-e95247d41dbe3b46c83d97f2a9d0e7bd1194bf08.zip
Merge pull request #1205 from ArthurHoaro/feature/opengraph
Add OpenGraph meta tags on permalink page
Diffstat (limited to 'tests/plugins/PluginMarkdownTest.php')
-rw-r--r--tests/plugins/PluginMarkdownTest.php2
1 files changed, 2 insertions, 0 deletions
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
47 $data = hook_markdown_render_linklist($data, $this->conf); 47 $data = hook_markdown_render_linklist($data, $this->conf);
48 $this->assertNotFalse(strpos($data['links'][0]['description'], '<h1>')); 48 $this->assertNotFalse(strpos($data['links'][0]['description'], '<h1>'));
49 $this->assertNotFalse(strpos($data['links'][0]['description'], '<p>')); 49 $this->assertNotFalse(strpos($data['links'][0]['description'], '<p>'));
50
51 $this->assertEquals($markdown, $data['links'][0]['description_src']);
50 } 52 }
51 53
52 /** 54 /**