Skip to content

Commit b5eaf74

Browse files
committed
test(toolset): update test URLs from internal to public endpoints
Updated test cases to use public.example.com instead of internal.example.com for OpenAPI base URL testing, and corrected URL property naming from internetUrl to intranetUrl in test fixtures. 更新测试用例以使用 public.example.com 而不是 internal.example.com 作为 OpenAPI 基础 URL 测试,并在测试配置中将 URL 属性名称从 internetUrl 更正为 intranetUrl。 Change-Id: Ib62612393fc3b7bc4bbccedcfa7f84e1df0ade07 Signed-off-by: OhYee <oyohyee@oyohyee.com>
1 parent 11338cc commit b5eaf74

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎tests/unittests/toolset/toolset-resource.test.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ describe('ToolSet Module', () => {
573573

574574
const result = (toolset as any)._getOpenAPIBaseUrl();
575575

576-
expect(result).toBe('https://internal.example.com');
576+
expect(result).toBe('https://public.example.com');
577577
});
578578

579579
it('should return internetUrl as fallback', () => {
@@ -582,15 +582,15 @@ describe('ToolSet Module', () => {
582582
status: Status.READY,
583583
outputs: {
584584
urls: {
585-
internetUrl: 'https://public.example.com',
585+
intranetUrl: 'https://internal.example.com',
586586
},
587587
} as any,
588588
},
589589
});
590590

591591
const result = (toolset as any)._getOpenAPIBaseUrl();
592592

593-
expect(result).toBe('https://public.example.com');
593+
expect(result).toBe('https://internal.example.com');
594594
});
595595
});
596596

0 commit comments

Comments
 (0)