From 3096edef1aa5ff8a461dc6b5e713b44e62fb820f Mon Sep 17 00:00:00 2001 From: Monica Rivera <44449640+mrivera-ms@users.noreply.github.com> Date: Fri, 2 Oct 2020 11:00:50 -0700 Subject: [PATCH] Replace xUnitException (#142) --- .../SkillFunctionalTests/Configuration/BotTestConfiguration.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SkillsFunctionalTests/tests/SkillFunctionalTests/Configuration/BotTestConfiguration.cs b/SkillsFunctionalTests/tests/SkillFunctionalTests/Configuration/BotTestConfiguration.cs index dbfe4396..c470eac8 100644 --- a/SkillsFunctionalTests/tests/SkillFunctionalTests/Configuration/BotTestConfiguration.cs +++ b/SkillsFunctionalTests/tests/SkillFunctionalTests/Configuration/BotTestConfiguration.cs @@ -39,7 +39,7 @@ namespace SkillFunctionalTests.Configuration DirectLineSecret = _configuration[DirectLineSecretKey]; if (string.IsNullOrWhiteSpace(DirectLineSecret)) { - throw new XunitException($"Configuration setting '{DirectLineSecret}' not found."); + throw new ArgumentException($"Configuration setting '{DirectLineSecret}' not found."); } BotId = _configuration[BotIdKey];