-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot mock environment variables that used in plugins #156
Comments
Hi @Ram-Rockkzz , It would be best if you could please provide some sample code to see how you are accessing these environment variables. If there a chance you could provide said sample please? |
I tried environment variables for Dynamics 365 and it's working pretty fine please let us know if it's the same case for you
//Create environment variable value
//Create dump environment variable definition
//Create environment variable
|
Thanks a mill @SarviH for your feedback. @Ram-Rockkzz can you please elaborate on where you have issues? If @SarviH 's sample is not working for you please post a sample unit test that we can use to reproduce your particular scenario. |
Hi Team,Thank you so much for responding. It was my mistake that i havent added environment variables tables in early bind classes. It is working fine and as expected. Please apologise my late response. thanks and regardsP.RamireddyOn 30 Aug 2024, at 12:46 AM, Jordi ***@***.***> wrote:
Thanks a mill @SarviH for your feedback.
@Ram-Rockkzz can you please elaborate on where you have issues? If @SarviH 's sample is not working for you please post a sample unit test that we can use to reproduce your particular scenario.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Ok makes sense @Ram-Rockkzz . Closing this issue so. |
We have env variables to get some confi. We could not create a mocked entity for environment variables while unit testing with fake xrm and it is saying service doesnt have them. Suggest me some help on how to test
The text was updated successfully, but these errors were encountered: