Skip to content

Commit

Permalink
ALR-1802 TC
Browse files Browse the repository at this point in the history
  • Loading branch information
Keerthana9894 committed Aug 20, 2024
1 parent 54a90cc commit a24fb87
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/main/default/classes/ScheduleSendEmailTest.cls
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ private class ScheduleSendEmailTest {
Contact con = new Contact(
FirstName = 'Test',
LastName = 'Contact',
Email = '[email protected]'
Email = '[email protected]',
AccountId=accRec.Id
);
insert con;



AccountContactRelation acr = new AccountContactRelation(
AccountId = acc.Id,
ContactId = con.Id,
Expand All @@ -39,5 +41,5 @@ private class ScheduleSendEmailTest {
List<EmailTemplate> emailTem = [SELECT Id FROM EmailTemplate];
System.assertEquals(True, emailTem.size()>0, 'No Email is sent');
}

}
}

0 comments on commit a24fb87

Please sign in to comment.