Skip to content

Commit a6bb3a0

Browse files
committed
Update RSS test data to use HTTPS and correct copyright text
1 parent 59a5d20 commit a6bb3a0

File tree

1 file changed

+20
-12
lines changed

1 file changed

+20
-12
lines changed

tests/X.Web.RSS.Tests/RSSTests.cs

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,11 @@ private static RssDocument GetFullRss()
7878
{
7979
Channel = new RssChannel
8080
{
81-
AtomLink = new RssLink("http://atomlink.com") { Rel = Rel.self, Type = "text/plain" },
81+
AtomLink = new RssLink("https://atomlink.com")
82+
{
83+
Rel = Rel.self,
84+
Type = "text/plain"
85+
},
8286
Category = "category",
8387
Cloud = new RssCloud
8488
{
@@ -88,29 +92,29 @@ private static RssDocument GetFullRss()
8892
Protocol = Protocol.xmlrpc,
8993
RegisterProcedure = "registerProcedure"
9094
},
91-
Copyright = "copyrignt (c)",
95+
Copyright = "copyright (c)",
9296
Description = "long description",
9397
Image = new RssImage
9498
{
9599
Description = "Image Description",
96100
Height = 100,
97101
Width = 100,
98-
Link = new RssUrl("http://image.link.url.com"),
102+
Link = new RssUrl("https://image.link.url.com"),
99103
Title = "title",
100-
Url = new RssUrl("http://image.url.com")
104+
Url = new RssUrl("https://image.url.com")
101105
},
102106
Language = "en",
103107
LastBuildDate = new DateTime(2011, 7, 17, 15, 55, 41),
104-
Link = new RssUrl("http://channel.url.com"),
108+
Link = new RssUrl("https://channel.url.com"),
105109
ManagingEditor = "Manager ([email protected])",
106110
PubDate = new DateTime(2011, 7, 17, 15, 55, 41),
107111
Rating = "rating",
108112
SkipDays = [Day.Thursday, Day.Wednesday],
109113
SkipHours = [new Hour(22), new Hour(15), new Hour(4)],
110114
TextInput = new RssTextInput
111115
{
112-
Description = "text input desctiption",
113-
Link = new RssUrl("http://text.input.link.com"),
116+
Description = "text input description",
117+
Link = new RssUrl("https://text.input.link.com"),
114118
Name = "text input name",
115119
Title = "text input title"
116120
},
@@ -127,19 +131,23 @@ private static RssDocument GetFullRss()
127131
Domain = "category domain value",
128132
Text = "category text value"
129133
},
130-
Comments = new RssUrl("http://rss.item.comment.url.com"),
134+
Comments = new RssUrl("https://rss.item.comment.url.com"),
131135
Description = "item description",
132136
Enclosure = new RssEnclosure
133137
{
134138
Length = 1234,
135139
Type = "text/plain",
136-
Url = "http://rss.item.enclosure.type.url.com"
140+
Url = "https://rss.item.enclosure.type.url.com"
137141
},
138-
Link = new RssUrl("http://rss.item.link.url.com"),
142+
Link = new RssUrl("https://rss.item.link.url.com"),
139143
PubDate = new DateTime(2011, 7, 17, 15, 55, 41),
140144
Title = "item title",
141-
Guid = new RssGuid { IsPermaLink = false, Value = "guid value" },
142-
Source = new RssSource { Url = "http://rss.item.source.url.com" }
145+
Guid = new RssGuid
146+
{
147+
IsPermaLink = false,
148+
Value = "guid value"
149+
},
150+
Source = new RssSource { Url = "https://rss.item.source.url.com" }
143151
}
144152
]
145153
}

0 commit comments

Comments
 (0)