@isTest
private class TestRemoveInterestingMomentLinebreaks
{
static testMethod void updateContactTest()
{
Contact c = new Contact(lastname = 'test', Last_Interesting_Moment_Desc__c = '\n\r test');
insert c;
system.debug('updateContactTest Before value');
system.debug(c.Last_Interesting_Moment_Desc__c.contains('\n\r'));
system.assert(c.Last_Interesting_Moment_Desc__c.contains('\n\r') == false);
}
}
1 réponse