about summary refs log tree commit homepage
path: root/t/feed.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2014-04-27 05:04:02 +0000
committerEric Wong <e@80x24.org>2014-04-27 05:59:24 +0000
commitf5a852a0fbaad70512abdbf4332dca343b85bc89 (patch)
treeb28d38a16cf2fe4643988bebc6f178bdf8648137 /t/feed.t
parent297b4cf31e6c46672f975eadb24b3617ded39a41 (diff)
downloadpublic-inbox-f5a852a0fbaad70512abdbf4332dca343b85bc89.tar.gz
Feed: <id> element must be a URI, oops :x
For each feed element, we'll just use the link since there's
currently no suitable URN.
Diffstat (limited to 't/feed.t')
-rw-r--r--t/feed.t5
1 files changed, 3 insertions, 2 deletions
diff --git a/t/feed.t b/t/feed.t
index a6bffdcd..880716cc 100644
--- a/t/feed.t
+++ b/t/feed.t
@@ -58,7 +58,7 @@ EOF
                         my $p = XML::Feed->parse(\$feed);
                         is($p->format, "Atom", "parsed atom feed");
                         is(scalar $p->entries, 3, "parsed three entries");
-                        is($p->id, 'public-inbox@example.com',
+                        is($p->id, 'mailto:public-inbox@example.com',
                                 "id is set to default");
                 }
 
@@ -142,7 +142,8 @@ EOF
                 SKIP: {
                         skip 'XML::Feed missing', 3 unless $have_xml_feed;
                         my $p = XML::Feed->parse(\$feed);
-                        is($p->id, 'a@example.com', "ID is set correctly");
+                        is($p->id, 'mailto:a@example.com',
+                                "ID is set correctly");
                         is($p->format, "Atom", "parsed atom feed");
                         is(scalar $p->entries, 3, "parsed three entries");
                 }