X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=test%2FtierSupport%2FautoCompleteSearchBar%2FautoCompleteSearchBarReducer.test.js;h=a4c35e6fb49c8a4fa617e2e334abf5cda8320b74;hb=refs%2Fchanges%2F25%2F36225%2F1;hp=89b17e94b3266e3ad5b15fb1345eb2d9b027a5bf;hpb=f67e79c2b98414e4b44559f6cf8f4b4c8f753241;p=aai%2Fsparky-fe.git diff --git a/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBarReducer.test.js b/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBarReducer.test.js index 89b17e9..a4c35e6 100644 --- a/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBarReducer.test.js +++ b/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBarReducer.test.js @@ -2,8 +2,8 @@ * ============LICENSE_START======================================================= * org.onap.aai * ================================================================================ - * Copyright © 2017 AT&T Intellectual Property. All rights reserved. - * Copyright © 2017 Amdocs + * Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved. + * Copyright © 2017-2018 Amdocs * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,20 +17,18 @@ * See the License for the specific language governing permissions and * limitations under the License. * ============LICENSE_END========================================================= - * - * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ import {expect} from 'chai'; import React from 'react'; import {Provider} from 'react-redux'; -import TestUtils from 'react-dom/lib/ReactTestUtils'; +import TestUtils from 'react-dom/test-utils'; import {tierSupportActionTypes} from 'app/tierSupport/TierSupportConstants.js'; -import reducer from 'app/tierSupport/autoCompleteSearchBar/AutoCompleteSearchBarReducer.js'; +import reducer from 'app/globalAutoCompleteSearchBar/GlobalAutoCompleteSearchBarReducer.js'; import {MESSAGE_LEVEL_WARNING, MESSAGE_LEVEL_DANGER} from 'utils/GlobalConstants.js'; import { autoCompleteSearchBarActionTypes, NO_MATCHES_FOUND, - ERROR_INVALID_SEARCH_TERMS} from 'app/tierSupport/autoCompleteSearchBar/AutoCompleteSearchBarConstants.js'; + ERROR_INVALID_SEARCH_TERMS} from 'generic-components/autoCompleteSearchBar/AutoCompleteSearchBarConstants.js'; import { ERROR_RETRIEVING_DATA} from 'app/networking/NetworkConstants.js';