diff options
author | Marco Nassabain <marco.nassabain@hotmail.com> | 2021-03-07 00:23:38 +0100 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2021-04-08 23:17:31 +0200 |
commit | 04cf2672c3a06dbaa7792403237e3ec9bbaf5455 (patch) | |
tree | 910b406b0371bfceb6cdcb729166f90acb49a6a9 /js/tests/unit | |
parent | 088ebcc63a892f2245c863c647516c0dd8041de7 (diff) |
🎨 Adapt front-end to match new implementation
- remove share-specific code since new solution uses dummy feeds
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
Diffstat (limited to 'js/tests/unit')
-rw-r--r-- | js/tests/unit/controller/ContentControllerSpec.js | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/js/tests/unit/controller/ContentControllerSpec.js b/js/tests/unit/controller/ContentControllerSpec.js index e45f896f0..e8992ca8c 100644 --- a/js/tests/unit/controller/ContentControllerSpec.js +++ b/js/tests/unit/controller/ContentControllerSpec.js @@ -123,22 +123,19 @@ describe('ContentController', function () { id: 3, feedId: 4, fingerprint: 'a', - unread: true, - isShared: false + unread: true }, { id: 5, feedId: 4, fingerprint: 'b', - keepUnread: true, - isShared: false + keepUnread: true }, { id: 9, feedId: 5, fingerprint: 'c', - unread: false, - isShared: false + unread: false }] }, }); @@ -192,8 +189,7 @@ describe('ContentController', function () { id: 3, feedId: 4, unread: false, - keepUnread: true, - isShared: false + keepUnread: true }] }, }); @@ -305,21 +301,18 @@ describe('ContentController', function () { { id: 3, fingerprint: 'a', - feedId: 6, - isShared: false + feedId: 6 }, { id: 2, fingerprint: 'b', feedId: 4, - keepUnread: true, - isShared: false + keepUnread: true }, { id: 1, fingerprint: 'c', - feedId: 4, - isShared: false + feedId: 4 },] }, }); |