From 8637d9367cfd43fea48c1f9729b5b3a81ec7b6c3 Mon Sep 17 00:00:00 2001 From: Zhongnan Su Date: Fri, 16 Dec 2022 16:31:06 -1000 Subject: [PATCH] [MD] Update url in tests to follow lychee url allowlist (#3099) Signed-off-by: Su Signed-off-by: Arpit Bandejiya --- CHANGELOG.md | 1 + src/plugins/data_source/server/client/client_config.test.ts | 2 +- src/plugins/data_source/server/legacy/client_config.test.ts | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2dd46dd6d7d6..8cf44724103e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -75,6 +75,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - [Vis Builder] Add global data persistence for vis builder #2896 ([#2896](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/2896)) - Update `leaflet-vega` and fix its usage ([#3005](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3005)) - [Table Visualization][BUG] Fix Url content display issue in table ([#2918](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/2918)) +- [MD] Update dummy url in tests to follow lychee url allowlist ([#3099](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3099)) ### 🚞 Infrastructure diff --git a/src/plugins/data_source/server/client/client_config.test.ts b/src/plugins/data_source/server/client/client_config.test.ts index 39a3607ccba8..c6dfff3fe4c6 100644 --- a/src/plugins/data_source/server/client/client_config.test.ts +++ b/src/plugins/data_source/server/client/client_config.test.ts @@ -5,7 +5,7 @@ import { DataSourcePluginConfigType } from '../../config'; import { parseClientOptions } from './client_config'; -const TEST_DATA_SOURCE_ENDPOINT = 'http://datasource.com'; +const TEST_DATA_SOURCE_ENDPOINT = 'http://test.com/'; const config = { enabled: true, diff --git a/src/plugins/data_source/server/legacy/client_config.test.ts b/src/plugins/data_source/server/legacy/client_config.test.ts index 1b21eede35bc..a15143ecf69f 100644 --- a/src/plugins/data_source/server/legacy/client_config.test.ts +++ b/src/plugins/data_source/server/legacy/client_config.test.ts @@ -5,7 +5,7 @@ import { DataSourcePluginConfigType } from '../../config'; import { parseClientOptions } from './client_config'; -const TEST_DATA_SOURCE_ENDPOINT = 'http://datasource.com'; +const TEST_DATA_SOURCE_ENDPOINT = 'http://test.com/'; const config = { enabled: true,