Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions force-app/main/default/classes/RD2_ApiService_Extended_TEST.cls
Original file line number Diff line number Diff line change
Expand Up @@ -61,18 +61,20 @@ private class RD2_ApiService_Extended_TEST {
insert contact;

// Create multiple recurring donations for testing
insert getEnhancedRecurringDonationBuilder(contact.Id)
npe03__Recurring_Donation__c rd1 = getEnhancedRecurringDonationBuilder(contact.Id)
.build();

insert getEnhancedRecurringDonationBuilder(contact.Id)
npe03__Recurring_Donation__c rd2 = getEnhancedRecurringDonationBuilder(contact.Id)
.withAmount(200)
.withInstallmentPeriod(RD2_Constants.INSTALLMENT_PERIOD_FIRST_AND_FIFTEENTH)
.build();
insert getEnhancedRecurringDonationBuilder(contact.Id)

npe03__Recurring_Donation__c rd3 = getEnhancedRecurringDonationBuilder(contact.Id)
.withAmount(150)
.withInstallmentPeriod(RD2_Constants.INSTALLMENT_PERIOD_WEEKLY)
.build();

insert new List<npe03__Recurring_Donation__c>{rd1, rd2, rd3};
}

// ===== HIGH PRIORITY TEST SCENARIOS =====
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Setup Variables
Create Household With Name Only
[Documentation] Creates a contact with lastname and firstname. Verifies that the toast message appears
... Verifies that contact is created and displays under recently viewed contacts
[tags] feature:Contacts and Accounts unit
[tags] feature:Contacts and Accounts unit unstable

#Create contact with only name
Go To Page Listing Contact
Expand All @@ -56,7 +56,7 @@ Create Household With additional details
[Documentation] Create a contact with lastname, firstname and email and click save & new and
... create another contact with name and address. Verifies that the toast message appears
... Verifies that contacts created and displays under recently viewed contacts
[tags] feature:Contacts and Accounts
[tags] feature:Contacts and Accounts unstable
# Create a contact with name and email
Go To Page Listing Contact
Click Object Button New
Expand Down
Loading