From a3746d3f4996b94f2258c88838fb3fdf65db8e74 Mon Sep 17 00:00:00 2001
From: 涂煌豪 <tuhuanghao@prec-tech.com>
Date: 星期二, 22 三月 2022 14:25:57 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/NFM624Rest'

---
 force-app/main/default/classes/WeeklyReportCmpTest.cls |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/force-app/main/default/classes/WeeklyReportCmpTest.cls b/force-app/main/default/classes/WeeklyReportCmpTest.cls
index 2b6b1da..5c88abf 100644
--- a/force-app/main/default/classes/WeeklyReportCmpTest.cls
+++ b/force-app/main/default/classes/WeeklyReportCmpTest.cls
@@ -43,8 +43,7 @@
         contact2.LastName = 'test1缁忛攢鍟�';
         insert contact2;
 
-      
-        Profile p = [select Id, name from Profile where name = '901_缁忛攢鍟嗘椿鍔ㄧ郴缁�'];
+        Profile p = [select Id from Profile where Name = '901_缁忛攢鍟嗘椿鍔ㄧ郴缁�'];
         user.ProfileId = p.Id;
         user.ContactId = contact2.Id;
         user.FirstName = '銉︺兗銈躲兗';

--
Gitblit v1.9.1