webpack/scenes/ContentViews/Delete/__tests__/contentViewDelete.test.js in katello-4.3.1 vs webpack/scenes/ContentViews/Delete/__tests__/contentViewDelete.test.js in katello-4.4.0.rc1

- old
+ new

@@ -42,12 +42,12 @@ [firstCV] = results; scopeBookmark = nockInstance .get('/api/v2/bookmarks') .query(true) .reply(200, {}); - searchDelayScope = mockSetting(nockInstance, 'autosearch_delay', 500); - autoSearchScope = mockSetting(nockInstance, 'autosearch_while_typing', true); + searchDelayScope = mockSetting(nockInstance, 'autosearch_delay', 0); + autoSearchScope = mockSetting(nockInstance, 'autosearch_while_typing'); }); afterEach(() => { nock.cleanAll(); assertNockRequest(searchDelayScope); @@ -97,15 +97,15 @@ }); test('Can open Delete wizard and delete CV with all steps', async (done) => { const hostAutocompleteUrl = '/hosts/auto_complete_search'; const hostAutocompleteScope = mockForemanAutocomplete(nockInstance, hostAutocompleteUrl); - const hostSearchDelayScope = mockSetting(nockInstance, 'autosearch_delay', 500); - const hostAutoSearchScope = mockSetting(nockInstance, 'autosearch_while_typing', true); + const hostSearchDelayScope = mockSetting(nockInstance, 'autosearch_delay', 0); + const hostAutoSearchScope = mockSetting(nockInstance, 'autosearch_while_typing'); const akAutocompleteUrl = '/activation_keys/auto_complete_search'; const akAutocompleteScope = mockAutocomplete(nockInstance, akAutocompleteUrl); - const akSearchDelayScope = mockSetting(nockInstance, 'autosearch_delay', 500); - const akAutoSearchScope = mockSetting(nockInstance, 'autosearch_while_typing', true); + const akSearchDelayScope = mockSetting(nockInstance, 'autosearch_delay', 0); + const akAutoSearchScope = mockSetting(nockInstance, 'autosearch_while_typing'); const autocompleteScope = mockAutocomplete(nockInstance, autocompleteUrl); const scope = nockInstance .get(cvIndexPath)