summaryrefslogtreecommitdiffstats
path: root/js/tests
diff options
context:
space:
mode:
authorskiingwiz <skiingwiz@gmail.com>2021-03-27 22:15:10 -0400
committerBenjamin Brahmer <info@b-brahmer.de>2021-04-02 11:15:17 +0200
commit04519388ce1bf3acc9997b35748762a7380e5954 (patch)
tree628b743c43c39aa4319153f3e5482ff35fd383af /js/tests
parente917127a7bab29b06ffca597fbb554cf57f6d212 (diff)
Allow directly adding a feed without going through the discovery process
Signed-off-by: skiingwiz <skiingwiz@gmail.com>
Diffstat (limited to 'js/tests')
-rw-r--r--js/tests/unit/controller/NavigationControllerSpec.js4
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: [{