From 3ad53c7985c9a7b4fbadcedfa3ef1b353db9c228 Mon Sep 17 00:00:00 2001 From: siyuniu-ms Date: Tue, 7 Jan 2025 17:32:58 -0800 Subject: [PATCH] Update cfgsyncplugin.tests.ts --- .../Tests/Unit/src/cfgsyncplugin.tests.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/applicationinsights-cfgsync-js/Tests/Unit/src/cfgsyncplugin.tests.ts b/extensions/applicationinsights-cfgsync-js/Tests/Unit/src/cfgsyncplugin.tests.ts index 8889f88a1..a8f5c2210 100644 --- a/extensions/applicationinsights-cfgsync-js/Tests/Unit/src/cfgsyncplugin.tests.ts +++ b/extensions/applicationinsights-cfgsync-js/Tests/Unit/src/cfgsyncplugin.tests.ts @@ -571,9 +571,9 @@ export class CfgSyncPluginTests extends AITestClass { let ikeyMsg = throttleMgrConfig["106"]; Assert.equal(ikeyMsg.disabled, false, "ikey msg should be enabled"); let otherMsg = throttleMgrConfig["110"]; - Assert.equal(otherMsg.disabled, true, "other msg should be disabled"); + Assert.equal(otherMsg.disabled, false, "other msg should be enabled"); let cdnOptIn = featureOptIn["CdnUsage"]; - Assert.equal(cdnOptIn.mode, 2, "cdn feature optin should be disabled"); + Assert.equal(cdnOptIn.mode, 3, "cdn feature optin should be enabled"); Assert.equal(ikeyOptIn.mode, 3, "ikey feature optin should be enabled"); return true; } @@ -634,7 +634,7 @@ export class CfgSyncPluginTests extends AITestClass { let otherMsg = throttleMgrConfig["110"]; Assert.equal(otherMsg.disabled, true, "other msg should be disabled"); let cdnOptIn = featureOptIn["CdnUsage"]; - Assert.equal(cdnOptIn.mode, 2, "cdn feature optin should be disabled"); + Assert.equal(cdnOptIn.mode, 3, "cdn feature optin should be disabled"); Assert.equal(ikeyOptIn.mode, 3, "ikey feature optin should be enabled"); return true; }