Question

How to get UserConnection when writing Unit Test classes

Hi, 

 

I created a unit test class following the instructions here https://academy.creatio.com/documents/technic-sdk/7-16/testing-tools-nunit for a custom class I created in Creatio.

 

However, in order to test I need to pass the UserConnection to my class. How do I logon and get the UserConnection from Terrasoft.Configuration.Tests?

 

Thanks in advance,

Jose

Like 0

Like

2 comments

Thanks for the information. I will try this.

Show all comments