From 95dd19e66c2572aacd6d8959b29de2083024e532 Mon Sep 17 00:00:00 2001 From: alphadev4 Date: Thu, 23 Nov 2023 16:57:22 +0500 Subject: [PATCH] removed classic --- plugins/azure/frontdoor/frontDoorHttpsOnly.js | 6 +++--- plugins/azure/frontdoor/frontDoorHttpsOnly.spec.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/plugins/azure/frontdoor/frontDoorHttpsOnly.js b/plugins/azure/frontdoor/frontDoorHttpsOnly.js index 6afb1e5d7b..503491cb46 100644 --- a/plugins/azure/frontdoor/frontDoorHttpsOnly.js +++ b/plugins/azure/frontdoor/frontDoorHttpsOnly.js @@ -29,7 +29,7 @@ module.exports = { } if (!classicFrontDoors.data.length) { - helpers.addResult(results, 0, 'No existing Classic Front Door profiles found', location); + helpers.addResult(results, 0, 'No existing Front Door profiles found', location); return rcb(); } @@ -52,9 +52,9 @@ module.exports = { } if (ruleFound) { - helpers.addResult(results, 0, 'Classic Front Door profile is configured to use HTTPS only', location, frontDoor.id); + helpers.addResult(results, 0, 'Front Door profile is configured to use HTTPS only', location, frontDoor.id); } else { - helpers.addResult(results, 2, 'Classic Front Door profile is not configured to use HTTPS only', location, frontDoor.id); + helpers.addResult(results, 2, 'Front Door profile is not configured to use HTTPS only', location, frontDoor.id); } }); diff --git a/plugins/azure/frontdoor/frontDoorHttpsOnly.spec.js b/plugins/azure/frontdoor/frontDoorHttpsOnly.spec.js index 22d19fe0f0..c3061d0639 100644 --- a/plugins/azure/frontdoor/frontDoorHttpsOnly.spec.js +++ b/plugins/azure/frontdoor/frontDoorHttpsOnly.spec.js @@ -96,7 +96,7 @@ describe('frontDoorHttpsOnly', function () { frontDoorHttpsOnly.run(cache, {}, (err, results) => { expect(results.length).to.equal(1); expect(results[0].status).to.equal(0); - expect(results[0].message).to.include('No existing Classic Front Door profiles found'); + expect(results[0].message).to.include('No existing Front Door profiles found'); expect(results[0].region).to.equal('global'); done(); }); @@ -107,7 +107,7 @@ describe('frontDoorHttpsOnly', function () { frontDoorHttpsOnly.run(cache, {}, (err, results) => { expect(results.length).to.equal(1); expect(results[0].status).to.equal(0); - expect(results[0].message).to.include('Classic Front Door profile is configured to use HTTPS only'); + expect(results[0].message).to.include('Front Door profile is configured to use HTTPS only'); expect(results[0].region).to.equal('global'); done(); }); @@ -118,7 +118,7 @@ describe('frontDoorHttpsOnly', function () { frontDoorHttpsOnly.run(cache, {}, (err, results) => { expect(results.length).to.equal(1); expect(results[0].status).to.equal(2); - expect(results[0].message).to.include('Classic Front Door profile is not configured to use HTTPS only'); + expect(results[0].message).to.include('Front Door profile is not configured to use HTTPS only'); expect(results[0].region).to.equal('global'); done(); });