summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSalma, Attaran <salma.attaran@amdocs.com>2018-02-06 10:13:52 -0500
committerSalma, Attaran <salma.attaran@amdocs.com>2018-02-06 13:25:49 -0500
commit9fcc0c271c53041e7e196182af51368fbce7dd3f (patch)
treef5425a3e2e0591cca9b8b023c277be5c236c2083
parent693159f2b81b064054ecf15bd71a49cd88e5356b (diff)
cleaned up code
Change-Id: Ie1007dcc3c467fe2232fe04803e97df58e8a3369 Signed-off-by: Salma, Attaran <salma.attaran@amdocs.com> Issue-ID: AAI-737
-rw-r--r--src/app/tierSupport/selectedNodeDetails/SelectedNodeDetailsConstants.js20
-rw-r--r--test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBar.test.js2
-rw-r--r--test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBarActions.test.js1
3 files changed, 1 insertions, 22 deletions
diff --git a/src/app/tierSupport/selectedNodeDetails/SelectedNodeDetailsConstants.js b/src/app/tierSupport/selectedNodeDetails/SelectedNodeDetailsConstants.js
index 9887a35..633bf99 100644
--- a/src/app/tierSupport/selectedNodeDetails/SelectedNodeDetailsConstants.js
+++ b/src/app/tierSupport/selectedNodeDetails/SelectedNodeDetailsConstants.js
@@ -23,23 +23,3 @@
export const SELECTED_NODE_TITLE = 'Node Details';
export const NO_SELECTION = 'Search for a service to view its details';
export const SELECTED_NODE_TABLE_COLUMN_NAMES = ['Attribute', 'Value'];
-export const TABLE_DATA = [
- ['equipment-role', 'UCPE'],
- ['in-maint', 'false'],
- ['ipv4-oam-addres', '1.22.1.5'],
- ['is-closed-loop-disabled', 'false'],
- ['management-option', 'ATT'],
- ['nm-lan-v6-address', 'FE80:0000:0AB0:0000:0207:B3FF:FE1E:1202'],
- ['operational-state', 'PROV'],
- ['orchestration-status', 'created'],
- ['resource-version', '146650180'],
- ['service-id', 'Ud7bb0a21-66f2-4e6d-87d9-9ef3ced63ae4CPE'],
- ['vcpu', '1'],
- ['vdisk', '20'],
- ['vdisk-units', 'GB'],
- ['vmemory', '12'],
- ['vmemory-units', 'GB'],
- ['vnf-id', 'b574e9e3-0a3d-4304-9c5-dd-su-gc21512'],
- ['vnf-name', 'USETESORLFL0109UJSW01'],
- ['vnf-type', 'SW'],
-];
diff --git a/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBar.test.js b/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBar.test.js
index ff184f5..10c48ca 100644
--- a/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBar.test.js
+++ b/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBar.test.js
@@ -37,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 {
diff --git a/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBarActions.test.js b/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBarActions.test.js
index 8b3b901..6dd692d 100644
--- a/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBarActions.test.js
+++ b/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBarActions.test.js
@@ -44,7 +44,6 @@ import {
queryRequestedValues
} from 'app/globalAutoCompleteSearchBar/GlobalAutoCompleteSearchBarActions.js';
import {tierSupportActionTypes, TSUI_SEARCH_URL} from "app/tierSupport/TierSupportConstants.js";
-import {TABLE_DATA} from "app/tierSupport/selectedNodeDetails/SelectedNodeDetailsConstants.js";
import {getDynamicTSUISearchURL} from "app/tierSupport/TierSupportActions.js";
import * as networkCall from "app/networking/NetworkCalls.js";
import {POST,