diff --git a/force-app/main/default/classes/SOQL_Test.cls b/force-app/main/default/classes/SOQL_Test.cls index be981ee..018b250 100644 --- a/force-app/main/default/classes/SOQL_Test.cls +++ b/force-app/main/default/classes/SOQL_Test.cls @@ -1295,20 +1295,17 @@ private class SOQL_Test { // Test String soql = SOQL.of(Account.SObjectType) - .whereAre( - SOQL.FilterGroup - .add( - SOQL.FilterGroup - .add(SOQL.Filter.with(Account.BillingCity).equal('Krakow')) - .add(SOQL.Filter.with(Account.BillingCity).equal('Warsaw')) - .anyConditionMatching() - .ignoreWhen(!isPartnerUser) - ) - .add( - SOQL.FilterGroup - .add(SOQL.Filter.with(Account.Industry).equal('IT')) - .add(SOQL.Filter.name().contains('MyAcccount')) - ) + .whereAre(SOQL.FilterGroup + .add(SOQL.FilterGroup + .add(SOQL.Filter.with(Account.BillingCity).equal('Krakow')) + .add(SOQL.Filter.with(Account.BillingCity).equal('Warsaw')) + .anyConditionMatching() + .ignoreWhen(!isPartnerUser) + ) + .add(SOQL.FilterGroup + .add(SOQL.Filter.with(Account.Industry).equal('IT')) + .add(SOQL.Filter.name().contains('MyAcccount')) + ) ) .toString();