Skip to content

fflib_SObjectSelectorTest Error: 'Assertion Failed: Expected: 12345.67, Actual: 9117.25' #489

Open
@adayIvey

Description

@adayIvey

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions