From 0a38495d8f2dbe58f7c5c7a5ad42ac5fc0542e3e Mon Sep 17 00:00:00 2001 From: Conner Turnbull Date: Tue, 18 Mar 2025 14:57:06 -0400 Subject: [PATCH] Ensuring phishing.testcategory.com exists to test against --- src/Api/Jobs/UpdatePhishingDomainsJob.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Api/Jobs/UpdatePhishingDomainsJob.cs b/src/Api/Jobs/UpdatePhishingDomainsJob.cs index b108a4183c..d25d5af9ec 100644 --- a/src/Api/Jobs/UpdatePhishingDomainsJob.cs +++ b/src/Api/Jobs/UpdatePhishingDomainsJob.cs @@ -63,6 +63,11 @@ public class UpdatePhishingDomainsJob : BaseJob try { var domains = await _cloudPhishingDomainQuery.GetPhishingDomainsAsync(); + + if (!domains.Contains("phishing.testcategory.com", StringComparer.OrdinalIgnoreCase)) + { + domains.Add("phishing.testcategory.com"); + } if (domains.Count > 0) {