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

Commit 3a20baf

Browse files
committed
Update Tests
1 parent c02b44f commit 3a20baf

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

tests/templates/adactio-com.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ <h2>Comments</h2>
318318
<article class="comment hentry" id="comment476">
319319
<div class="entry-content">
320320

321-
<p><a class="auto-link h-x-username" href="https://twitter.com/sandeepshetty">@sandeepshetty</a> <a class="auto-link h-x-username" href="https://twitter.com/pfefferle">@pfefferle</a> <a class="h-card" href="http://cweiske.de">cweiske</a> Something new to consider: <a class="h-card" data-at-name="adactio" href="http://http://adactio.com" rel="">Jeremy Keith</a> added a webmention sending form to his journal entries to help people who’s websites don’t support webmention already. Being able to test and use webmention through a human visible, interactable form is a huge benefit of using HTTP form encoded data.</p>
321+
<p><a class="auto-link h-x-username" href="https://twitter.com/sandeepshetty">@sandeepshetty</a> <a class="auto-link h-x-username" href="https://twitter.com/pfefferle">@pfefferle</a> <a class="h-card" href="http://cweiske.de">cweiske</a> Something new to consider: <a class="h-card" data-at-name="adactio" href="http://example.com/author/adactio" rel="">Jeremy Keith</a> added a webmention sending form to his journal entries to help people who’s websites don’t support webmention already. Being able to test and use webmention through a human visible, interactable form is a huge benefit of using HTTP form encoded data.</p>
322322

323323
<p>We can make this an even stronger case by encouraging success and error responses to be full HTML documents with helpful copy.</p>
324324

@@ -731,4 +731,4 @@ <h3>Read my book</h3>
731731
<script src="/includes/javascript/global.js" defer="defer"></script>
732732
<script src="/mint/?js"></script>
733733
</body>
734-
</html>
734+
</html>

tests/templates/adactio-com.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"comment_author": "adactio-com",
2+
"comment_author": "Jeremy Keith",
33
"comment_author_url": "http://example.com/webmention/target/placeholder",
44
"comment_meta": {
55
"semantic_linkbacks_type": "mention"

tests/templates/sandeep-io.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757

5858
<div class="container">
5959
<div class="h-card twelve columns offset-by-two">
60-
<a class="u-url u-uid" rel="me author" href="http://www.sandeep.io/">
60+
<a class="u-url u-uid" rel="me author" href="http://www.example.com/author/">
6161
<img class="u-photo" src="http://www.gravatar.com/avatar/64a4d7587e6e3db5b5ff8152b25eb1bc?s=420&d=mm&r=g" width="80">
6262
</a>
6363
<p class="p-name">Sandeep Shetty</p>
@@ -355,4 +355,4 @@ <h3 id="mentions">Mentions</h3>
355355
</script>
356356

357357
</body>
358-
</html>
358+
</html>

tests/templates/sandeep-io.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"comment_author": "sandeep-io",
2+
"comment_author": "Sandeep Shetty",
33
"comment_author_url": "http://example.com/webmention/target/placeholder",
44
"comment_meta": {
55
"semantic_linkbacks_type": "like"

tests/test-microformats.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ public function test_interpreter( $file_name ) {
77
$comment = Linkbacks_MF2_Handler::generate_commentdata(
88
array(
99
'remote_source_original' => file_get_contents( dirname( __FILE__ ) . '/templates/' . $file_name . '.html' ),
10-
'comment_author_url' => 'http://example.com/webmention/target/placeholder',
10+
'comment_author_url' => 'http://example.com/webmention/source/placeholder',
1111
'target' => 'http://example.com/webmention/target/placeholder',
1212
'comment_type' => 'webmention',
1313
'comment_author' => $file_name,

0 commit comments

Comments
 (0)