@@ -26,18 +26,18 @@ public function testFeedCreation1(): void
2626 {
2727 $ feed = new Feed ();
2828 $ feed ->setTitle ('title ' );
29- $ feed ->addAuthor ('author ' , 'author@test.com ' , 'http://test.com/author ' );
30- $ feed ->addAuthor ('author ' , 'author@test.com ' , 'http://test.com/author ' );
29+ $ feed ->addAuthor ('author ' , 'author@test.com ' , 'http://test.com/author?a=b&c=d ' );
30+ $ feed ->addAuthor ('author ' , 'author@test.com ' , 'http://test.com/author?a=b&c=d ' );
3131 $ feed ->setRights ('©2019 ' );
32- $ feed ->addLink ('http://test.com/link ' , 'via ' , 'text/html ' );
32+ $ feed ->addLink ('http://test.com/link?a=b&c=d ' , 'via ' , 'text/html ' );
3333 $ feed ->addCategory ('term ' , 'http://scheme.com ' , 'label ' );
3434 $ feed ->setId ('tag:test ' );
3535 $ feed ->setLanguage ('en ' );
36- $ feed ->setIconUri ('http://test.com/icon ' );
37- $ feed ->setLogoUri ('http://test.com/logo ' );
38- $ feed ->setSubtitle ('subtitle ' );
39- $ feed ->setGenerator ('generator ' , 'http://test.com/generator ' , 'version ' );
40- $ feed ->addContributor ('contributor ' , 'contributor@test.com ' , 'http://test.com/contributor ' );
36+ $ feed ->setIconUri ('http://test.com/icon?a=b&c=d ' );
37+ $ feed ->setLogoUri ('http://test.com/logo?a=b&c=d ' );
38+ $ feed ->setSubtitle ('subtitle & co ' );
39+ $ feed ->setGenerator ('generator ' , 'http://test.com/generator?a=b&c=d ' , 'version ' );
40+ $ feed ->addContributor ('contributor ' , 'contributor@test.com ' , 'http://test.com/contributor?a=b&c=d ' );
4141 $ feed ->setUpdatedDateTime (new DateTime ('2019-05-04T20:00:40Z ' ));
4242 $ feed ->addCustomElement ('sy ' , 'http://purl.org/rss/1.0/modules/syndication ' , 'updatePeriod ' , 'hourly ' );
4343 $ feed ->addCustomElement ('sy ' , 'http://purl.org/rss/1.0/modules/syndication ' , 'updateFrequency ' , 10 );
@@ -136,19 +136,19 @@ public function testFeedCreation4(): void
136136 {
137137 $ sourceFeed = new Feed ();
138138 $ sourceFeed ->setTitle ('source title ' );
139- $ sourceFeed ->setId ('tag: source ' );
139+ $ sourceFeed ->setId ('https://test.com/ source?a=b&c=d ' );
140140 $ sourceFeed ->setUpdatedDateTime (new DateTime ('2019-03-04T20:00:40Z ' ));
141141
142142 $ feed = new Feed ();
143143 $ feed ->setTitle ('title ' );
144- $ feed ->setId ('tag: test ' );
144+ $ feed ->setId ('https:// test.com/feed?a=b&c=d ' );
145145 $ feed ->setUpdatedDateTime (new DateTime ('2019-05-04T20:00:40Z ' ));
146146
147147 $ entry = new Entry ();
148148 $ entry ->setTitle ('entry title ' , 'html ' );
149- $ entry ->setId ('tag:entry- test ' );
149+ $ entry ->setId ('https:// test.com/entry?a=b&c=d ' );
150150 $ entry ->setContent (null );
151- $ entry ->addLink ('http://alternate.com ' , 'alternate ' );
151+ $ entry ->addLink ('http://alternate.com?a=b&c=d ' , 'alternate ' );
152152 $ entry ->setUpdatedDateTime (new DateTime ('2019-05-04T21:00:40Z ' ));
153153 $ entry ->setSource ($ sourceFeed );
154154
0 commit comments