From 12df13f4d0a74538fb6f1e6335524c5fa034d79d Mon Sep 17 00:00:00 2001 From: andrew-irwin Date: Fri, 10 Jul 2020 11:40:47 -0500 Subject: [PATCH] update unit tests for hidden services --- force-app/main/default/classes/Test_getRecommendations.cls | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/force-app/main/default/classes/Test_getRecommendations.cls b/force-app/main/default/classes/Test_getRecommendations.cls index 09a0d7e8..d45b3253 100644 --- a/force-app/main/default/classes/Test_getRecommendations.cls +++ b/force-app/main/default/classes/Test_getRecommendations.cls @@ -158,7 +158,8 @@ public with sharing class Test_getRecommendations { recs, badServiceName ); - System.assertEquals(true, recs[badServiceIndex].Hidden); + System.assertEquals(true, recs[badServiceIndex].HiddenAll); + System.assertEquals(false, recs[badServiceIndex].Hidden); } @testSetup