Skip to content

Commit

Permalink
Updated unit test cases
Browse files Browse the repository at this point in the history
Signed-off-by: Mihir Soni <[email protected]>
  • Loading branch information
mihirsoni committed Apr 9, 2021
1 parent 52e734f commit 43814ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ export class SenseEditor {
const opensearchData = req.data;

// this is the first url defined in opensearch.hosts
const url = opensearch.orgnstructOpenSearchUrl(opensearchBaseUrl, opensearchPath);
const url = opensearch.constructOpenSearchUrl(opensearchBaseUrl, opensearchPath);

let ret = 'curl -X' + opensearchMethod + ' "' + url + '"';
if (opensearchData && opensearchData.length) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import { SavedObjectsClientContract, SavedObject } from 'opensearch-dashboards/s
import { savedObjectsClientMock, loggingSystemMock } from '../../../../../core/server/mocks';

describe('shortUrlLookupProvider', () => {
const ID = '631b8fa45c5d0b8948aaf38cc3a001ca';
const ID = 'a54b76ec86771ee865a0f74a305dfff8';
const TYPE = 'url';
const URL = 'http://opensearch.org';

Expand Down

0 comments on commit 43814ce

Please sign in to comment.