From f5a852a0fbaad70512abdbf4332dca343b85bc89 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 27 Apr 2014 05:04:02 +0000 Subject: Feed: element must be a URI, oops :x For each feed element, we'll just use the link since there's currently no suitable URN. --- t/feed.t | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 't') 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"); } -- cgit v1.2.3-24-ge0c7