/
Testing customer logic

Testing customer logic

When it is necessary to add additional unit test to test customer logic which is related with Social25 it is required to add a basic configuration.

This can be done by adding the following line in the @TestSetup function of the unit test

Social25.Ctrl_Config.enableHerokuMessageTriggerV2();

 

When coming from on older version where the Social25__Social25_Config__c object was still in use to store the configuration, it is required to change the parts where a test Social25__Social25_Config__c record was inserted with the function call described above.

Related content

Configure Social25
Configure Social25
More like this
Revised Facebook Messenger Standard Messaging Window
Revised Facebook Messenger Standard Messaging Window
Read with this
Easy Onboarding Acceptance Mode
Easy Onboarding Acceptance Mode
More like this
Message Trigger
Message Trigger
Read with this
Sandbox Refresh
Sandbox Refresh
More like this
Install the latest GoMeddo Social25 / Changelog
Install the latest GoMeddo Social25 / Changelog
More like this