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
Cannot Adjust Custom Settings in a Unit Test. As a consequence, there is no way to test scenarios that require adding an address to an organization.
#7187
Due to line 107 in UTIL_CustomSettingsFacade, there is no way to adjust the NPSP "Contact and Org Settings" because it loads default settings when running in test mode, see code below.
This is important particularly because it would enable adding addresses to organizations, a very common use case.
The text was updated successfully, but these errors were encountered:
MenachemShanowitz
changed the title
Cannot Adjust Custom Settings in a Unit. As a consequence, there is no way to add addresses to an organization in a unit test
Cannot Adjust Custom Settings in a Unit Test. As a consequence, there is no way to add addresses to an organization in said Unit Test
Aug 18, 2023
MenachemShanowitz
changed the title
Cannot Adjust Custom Settings in a Unit Test. As a consequence, there is no way to add addresses to an organization in said Unit Test
Cannot Adjust Custom Settings in a Unit Test. As a consequence, there is no way to test scenarios requiring adding an address to an organization.
Aug 18, 2023
MenachemShanowitz
changed the title
Cannot Adjust Custom Settings in a Unit Test. As a consequence, there is no way to test scenarios requiring adding an address to an organization.
Cannot Adjust Custom Settings in a Unit Test. As a consequence, there is no way to test scenarios that require adding an address to an organization.
Aug 18, 2023
Hi,
Due to line 107 in UTIL_CustomSettingsFacade, there is no way to adjust the NPSP "Contact and Org Settings" because it loads default settings when running in test mode, see code below.
This is important particularly because it would enable adding addresses to organizations, a very common use case.
The text was updated successfully, but these errors were encountered: