@@ -19,7 +19,7 @@ describe('FeedInfoTable.vue', () => {
1919 nextUpdateTime : 1 ,
2020 articlesPerUpdate : 150 ,
2121 updateErrorCount : 20 ,
22- updateMode : FEED_UPDATE_MODE . UNREAD ,
22+ updateMode : FEED_UPDATE_MODE . NORMAL ,
2323 fullTextEnabled : false ,
2424 preventUpdate : true ,
2525 } , {
@@ -30,7 +30,7 @@ describe('FeedInfoTable.vue', () => {
3030 nextUpdateTime : 4 ,
3131 articlesPerUpdate : 50 ,
3232 updateErrorCount : 40 ,
33- updateMode : FEED_UPDATE_MODE . IGNORE ,
33+ updateMode : FEED_UPDATE_MODE . SILENT ,
3434 fullTextEnabled : true ,
3535 preventUpdate : false ,
3636 } , {
@@ -41,7 +41,7 @@ describe('FeedInfoTable.vue', () => {
4141 nextUpdateTime : 8 ,
4242 articlesPerUpdate : 20 ,
4343 updateErrorCount : 0 ,
44- updateMode : FEED_UPDATE_MODE . UNREAD ,
44+ updateMode : FEED_UPDATE_MODE . NORMAL ,
4545 fullTextEnabled : true ,
4646 preventUpdate : true ,
4747 } ]
@@ -325,7 +325,7 @@ describe('FeedInfoTable.vue', () => {
325325 expect ( store . dispatch ) . toHaveBeenCalledWith ( ACTIONS . FEED_SET_PREVENT_UPDATE , { feed : feeds [ 1 ] , preventUpdate : true } )
326326 } )
327327
328- it ( 'should dispatch setUpdateMode on click with FEED_UPDATE_MODE.IGNORE ' , async ( ) => {
328+ it ( 'should dispatch setUpdateMode on click with FEED_UPDATE_MODE.SILENT ' , async ( ) => {
329329 const actions = wrapper . findAllComponents ( { name : 'NcActions' } )
330330 . find ( ( ncactions ) => ncactions . attributes ( 'data-test' ) === 'feedOptions-1' )
331331
@@ -334,7 +334,7 @@ describe('FeedInfoTable.vue', () => {
334334 expect ( button ) . toBeTruthy ( )
335335 await button . trigger ( 'click' )
336336
337- expect ( store . dispatch ) . toHaveBeenCalledWith ( ACTIONS . FEED_SET_UPDATE_MODE , { feed : feeds [ 0 ] , updateMode : FEED_UPDATE_MODE . IGNORE } )
337+ expect ( store . dispatch ) . toHaveBeenCalledWith ( ACTIONS . FEED_SET_UPDATE_MODE , { feed : feeds [ 0 ] , updateMode : FEED_UPDATE_MODE . SILENT } )
338338 } )
339339
340340 it ( 'should dispatch setUpdateMode on click with FEED_UPDATE_MODE.NORMAL' , async ( ) => {
@@ -346,7 +346,7 @@ describe('FeedInfoTable.vue', () => {
346346 expect ( button ) . toBeTruthy ( )
347347 await button . trigger ( 'click' )
348348
349- expect ( store . dispatch ) . toHaveBeenCalledWith ( ACTIONS . FEED_SET_UPDATE_MODE , { feed : feeds [ 1 ] , updateMode : FEED_UPDATE_MODE . UNREAD } )
349+ expect ( store . dispatch ) . toHaveBeenCalledWith ( ACTIONS . FEED_SET_UPDATE_MODE , { feed : feeds [ 1 ] , updateMode : FEED_UPDATE_MODE . NORMAL } )
350350 } )
351351
352352 it ( 'should dispatch setFullText on click with fullTextEnabled true' , async ( ) => {
0 commit comments