From 9fcc0c271c53041e7e196182af51368fbce7dd3f Mon Sep 17 00:00:00 2001 From: "Salma, Attaran" Date: Tue, 6 Feb 2018 10:13:52 -0500 Subject: cleaned up code Change-Id: Ie1007dcc3c467fe2232fe04803e97df58e8a3369 Signed-off-by: Salma, Attaran Issue-ID: AAI-737 --- .../SelectedNodeDetailsConstants.js | 20 -------------------- .../autoCompleteSearchBar.test.js | 2 +- .../autoCompleteSearchBarActions.test.js | 1 - 3 files changed, 1 insertion(+), 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, -- cgit 1.2.3-korg