-
-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass parameter to get feed items() (#38)
* pass parameter to getFeedItems() * refactor tests to include a filter being passed to a feed * refactor following pr feedback
- Loading branch information
1 parent
f1cb45b
commit 2630e06
Showing
8 changed files
with
60 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
tests/__snapshots__/FeedTest__all_feed_items_have_expected_data__3.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<feed xmlns="http://www.w3.org/2005/Atom"> | ||
<id>http://localhost/feedBaseUrl/feed3</id> | ||
<link href="http://localhost/feedBaseUrl/feed3"/> | ||
<title><![CDATA[Feed 3]]></title> | ||
<updated>2016-01-01T00:00:00+01:00</updated> | ||
<entry> | ||
<title><![CDATA[feedItemTitle]]></title> | ||
<link rel="alternate" href="https://localhost/news/testItem1"/> | ||
<id>http://localhost/1</id> | ||
<author> | ||
<name><![CDATA[feedItemAuthor]]></name> | ||
</author> | ||
<summary type="html"><![CDATA[feedItemSummary]]></summary> | ||
<updated>2016-01-01T00:00:00+01:00</updated> | ||
</entry> | ||
</feed> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters