fflib-apex-common
fflib-apex-common copied to clipboard
fflib_SObjectSelectorTest Error: 'Assertion Failed: Expected: 12345.67, Actual: 9117.25'
trafficstars
Describe the bug when I run the tests in 'fflib_SObjectSelectorTest Class' I get the following error.
System.AssertException: Assertion Failed: Expected: 12345.67, Actual: 9117.25 CODE LINE: system.assertEquals(12345.67,result[0].AnnualRevenue);
I think this has to do with our org being multi currency and there is a conversion being applied on all currency fields in the Account object
To Reproduce
Run test 'fflib_SObjectSelectorTest' from Developer Console in salesforce in a multi currency org
Expected behavior All tests in class 'fflib_SObjectSelectorTest' pass and can handle currency correctly
Version I just installed the latest version