diff options
author | skiingwiz <skiingwiz@gmail.com> | 2021-03-27 22:15:10 -0400 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2021-04-02 11:15:17 +0200 |
commit | 04519388ce1bf3acc9997b35748762a7380e5954 (patch) | |
tree | 628b743c43c39aa4319153f3e5482ff35fd383af /js/tests/unit/controller/NavigationControllerSpec.js | |
parent | e917127a7bab29b06ffca597fbb554cf57f6d212 (diff) |
Allow directly adding a feed without going through the discovery process
Signed-off-by: skiingwiz <skiingwiz@gmail.com>
Diffstat (limited to 'js/tests/unit/controller/NavigationControllerSpec.js')
-rw-r--r-- | js/tests/unit/controller/NavigationControllerSpec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tests/unit/controller/NavigationControllerSpec.js b/js/tests/unit/controller/NavigationControllerSpec.js index 8329348a7..17aee7e22 100644 --- a/js/tests/unit/controller/NavigationControllerSpec.js +++ b/js/tests/unit/controller/NavigationControllerSpec.js @@ -361,7 +361,7 @@ describe('NavigationController', function () { expect(ctrl.showNewFolder).toBe(false); expect(FeedResource.create).toHaveBeenCalledWith('test', 3, - undefined, undefined, undefined); + undefined, undefined, undefined, false); expect(Publisher.publishAll).toHaveBeenCalledWith({feeds: [{ id: 3, url: 'test', @@ -441,7 +441,7 @@ describe('NavigationController', function () { expect(ctrl.showNewFolder).toBe(false); expect(FeedResource.create).toHaveBeenCalledWith('test', 19, - undefined, 'user', 'password'); + undefined, 'user', 'password', false); expect(FolderResource.create).toHaveBeenCalledWith('john'); expect(Publisher.publishAll).toHaveBeenCalledWith({ folders: [{ |