You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the solution you'd like
When using date literals with the "IN" operator, this should successfully apply the date literal to it.
e.g.
Opportunity opp = new Opportunity(
CloseDate = Gmt.today()
);
DML.doInsert(opp, true);
List<Opportunity> queriedOpportunities = Selector.query('SELECT Id FROM Opportunity WHERE CloseDate IN (TODAY, YESTERDAY, TOMORROW)');
Assert.areEqual(1, queriedOpportunities.size(), 'Expected 1 opportunity to be found');
The text was updated successfully, but these errors were encountered:
Describe the solution you'd like
When using date literals with the "IN" operator, this should successfully apply the date literal to it.
e.g.
The text was updated successfully, but these errors were encountered: