mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Fix copilot studio integration tests failure (#4209)
This commit is contained in:
committed by
GitHub
Unverified
parent
6c3b9d43ed
commit
d04228da39
@@ -31,8 +31,17 @@ public class CopilotStudioFixture : IAgentFixture
|
||||
{
|
||||
const string CopilotStudioHttpClientName = nameof(CopilotStudioAgent);
|
||||
|
||||
var config = TestConfiguration.LoadSection<CopilotStudioAgentConfiguration>();
|
||||
var settings = new CopilotStudioConnectionSettings(config.TenantId, config.AppClientId)
|
||||
CopilotStudioAgentConfiguration? config = null;
|
||||
try
|
||||
{
|
||||
config = TestConfiguration.LoadSection<CopilotStudioAgentConfiguration>();
|
||||
}
|
||||
catch (InvalidOperationException ex)
|
||||
{
|
||||
Assert.Skip("CopilotStudio configuration could not be loaded. Error:" + ex.Message);
|
||||
}
|
||||
|
||||
var settings = new CopilotStudioConnectionSettings(config!.TenantId, config.AppClientId)
|
||||
{
|
||||
DirectConnectUrl = config.DirectConnectUrl,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user