Skip to main content
Daniel Price (nCino) 님이 #Apex에 질문했습니다
Hi! I have a super simple after-delete trigger that only start()s a flow--does it need a test class? If so, what would I test? I could test that the flow ran successfully, but that's really not testing the trigger... Thanks! 
답변 2개
  1. 2019년 10월 8일 오후 3:34
    Thanks, Anthony! Your answer connected some dots for me. I had to create half a dozen connected objects, learn about SOQL queries in test classes (no real data!), and add some error catching in the flow being triggered, but I got it working. Have a great day!
0/9000