Feed syncing (#1044)
Closes #1036 Also: - Store sync info for feeds more compactly. Address #1037
This commit is contained in:
parent
451c12513e
commit
dd8fd2b1ac
7 changed files with 112 additions and 52 deletions
|
@ -47,14 +47,6 @@ describe("Zotero.Feeds", function () {
|
|||
var json = {};
|
||||
var expiredFeedURL, existingFeedURL;
|
||||
|
||||
before(function() {
|
||||
sinon.stub(Zotero.Feed.prototype, 'updateFeed').resolves();
|
||||
});
|
||||
|
||||
after(function() {
|
||||
Zotero.Feed.prototype.updateFeed.restore();
|
||||
});
|
||||
|
||||
beforeEach(function* () {
|
||||
yield clearFeeds();
|
||||
|
||||
|
@ -65,7 +57,6 @@ describe("Zotero.Feeds", function () {
|
|||
name: Zotero.Utilities.randomString(),
|
||||
refreshInterval: 5,
|
||||
cleanupAfter: 3,
|
||||
markedAsRead: []
|
||||
};
|
||||
if (i == 0) {
|
||||
existingFeedURL = url;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue