Skip to content

Commit

Permalink
Merge branch 'main' into feature/1016-allow-disable-of-problem-emails
Browse files Browse the repository at this point in the history
  • Loading branch information
aheber authored Sep 2, 2024
2 parents 84ba187 + ce162ed commit 6800a70
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions dlrs/main/classes/RollupSummariesTest.cls
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,13 @@ private class RollupSummariesTest {
);
fflib_SObjectDomain.triggerHandler(RollupSummaries.class);
System.assertEquals(1, fflib_SObjectDomain.Errors.getAll().size());
System.assertEquals(
'Relationship Criteria \'StageName Equals Won\' is not valid, see SOQL documentation http://www.salesforce.com/us/developer/docs/soql_sosl/Content/sforce_api_calls_soql_select_conditionexpression.htm, error is \'unexpected token: \'Equals\'\'',
fflib_SObjectDomain.Errors.getAll()[0].message
Assert.isTrue(
fflib_SObjectDomain.Errors.getAll()[0]
.message.startsWith(
'Relationship Criteria \'StageName Equals Won\' is not valid, see SOQL documentation'
)
);

System.assertEquals(
LookupRollupSummary__c.RelationShipCriteria__c,
((fflib_SObjectDomain.FieldError) fflib_SObjectDomain.Errors.getAll()[0])
Expand Down

0 comments on commit 6800a70

Please sign in to comment.