cleaned up code
[aai/sparky-fe.git] / test / tierSupport / autoCompleteSearchBar / autoCompleteSearchBar.test.js
index d56c44b..10c48ca 100644 (file)
@@ -1,16 +1,15 @@
 /*
  * ============LICENSE_START=======================================================
- * SPARKY (AAI UI service)
+ * org.onap.aai
  * ================================================================================
- * Copyright © 2017 AT&T Intellectual Property.
+ * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
  * Copyright © 2017 Amdocs
- * All rights reserved.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
- *      http://www.apache.org/licenses/LICENSE-2.0
+ *       http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * limitations under the License.
  * ============LICENSE_END=========================================================
  *
- * ECOMP and OpenECOMP are trademarks
- * and service marks of AT&T Intellectual Property.
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  */
-
 import {expect, deep} from 'chai';
 import React from 'react';
 import {Provider} from 'react-redux';
@@ -30,7 +27,7 @@ import sinon from 'sinon';
 import configureStore from 'redux-mock-store';
 import thunk from 'redux-thunk';
 import {storeCreator} from 'app/AppStore.js';
-import TestUtils from 'react-dom/lib/ReactTestUtils';
+import TestUtils from 'react-dom/test-utils';
 import {
        autoCompleteSearchBarActionTypes,
        ERROR_INVALID_SEARCH_TERMS,
@@ -40,7 +37,7 @@ import {
 import {AutoCompleteSearchBar} from 'generic-components/autoCompleteSearchBar/AutoCompleteSearchBar.jsx';
 import {ERROR_RETRIEVING_DATA, POST, POST_HEADER} from 'app/networking/NetworkConstants.js';
 import {tierSupportActionTypes, TSUI_SEARCH_URL} from 'app/tierSupport/TierSupportConstants.js';
-import {TABLE_DATA} from 'app/tierSupport/selectedNodeDetails/SelectedNodeDetailsConstants.js';
+
 import {mount, shallow} from 'enzyme';
 import i18n from 'utils/i18n/i18n';
 import {
@@ -50,7 +47,7 @@ import {
        onSuggestionsClearRequested,
        querySelectedNodeElement,
        getInvalidSearchInputEvent
-} from 'app/tierSupport/autoCompleteSearchBar/AutoCompleteSearchBarActions.js';
+} from 'app/globalAutoCompleteSearchBar/GlobalAutoCompleteSearchBarActions.js';
 import * as networkCall from 'app/networking/NetworkCalls.js';
 import autoCompleteSearchBarTestConstants from './autoCompleteSearchBarTestConstants';