Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit 3547210

Browse files
committed
Add unit test
1 parent 8a62dbe commit 3547210

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

tests/templates/person-tag.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<span class="h-entry">
2+
<a class="u-category" href="http://example.com/webmention/target/placeholder">Homepage</a><a class="u-url" href="/"></a>
3+
<span class="h-card p-name">Test Person</span>
4+
</span>

tests/templates/person-tag.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"comment_author": "person-tag",
3+
"comment_author_url": "http://example.com/webmention/target/placeholder",
4+
"comment_meta": {
5+
"semantic_linkbacks_type": "tag"
6+
}
7+
}

0 commit comments

Comments
 (0)