Skip to content

Commit

Permalink
add full url to test string
Browse files Browse the repository at this point in the history
Signed-off-by: mcnesium <[email protected]>
  • Loading branch information
mcnesium authored and backportbot[bot] committed Jan 31, 2024
1 parent bd376ff commit 64171ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Template/RssTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,15 @@ public function dataContent(): array {
['activity_id' => 1337, 'subject' => '', 'link' => '', 'timestamp' => 0, 'message' => ''],
],
' <item>'
. "\n" . ' <guid isPermaLink="false">1337</guid>'
. "\n" . ' <guid isPermaLink="false">http://nextcloud.org?id=1337</guid>'
. "\n" . ' </item>',
],
[
[
['activity_id' => 42, 'subject' => 'text', 'link' => 'http://docs.nextcloud.org', 'timestamp' => 21, 'message' => 'text2'],
],
' <item>'
. "\n" . ' <guid isPermaLink="false">42</guid>'
. "\n" . ' <guid isPermaLink="false">http://nextcloud.org?id=42</guid>'
. "\n" . ' <title>text</title>'
. "\n" . ' <link>http://docs.nextcloud.org</link>'
. "\n" . ' <pubDate>Thu, 01 Jan 1970 00:00:21 +0000</pubDate>'
Expand All @@ -97,7 +97,7 @@ public function dataContent(): array {
['activity_id' => 42, 'subject' => 'text', 'link' => 'http://docs.nextcloud.org', 'timestamp' => 21],
],
' <item>'
. "\n" . ' <guid isPermaLink="false">42</guid>'
. "\n" . ' <guid isPermaLink="false">http://nextcloud.org?id=42</guid>'
. "\n" . ' <title>text</title>'
. "\n" . ' <link>http://docs.nextcloud.org</link>'
. "\n" . ' <pubDate>Thu, 01 Jan 1970 00:00:21 +0000</pubDate>'
Expand Down

0 comments on commit 64171ec

Please sign in to comment.