dataverse icon indicating copy to clipboard operation
dataverse copied to clipboard

Compare classes, not classnames in tests

Open bencomp opened this issue 2 years ago • 3 comments

What this PR does / why we need it:

This replaces a few comparisons of object types through their class's names with type comparisons using instanceof in tests.

Which issue(s) this PR closes:

Does not close it, but relates to #9021.

Special notes for your reviewer:

Suggestions on how to test this:

Does this PR introduce a user interface change? If mockups are available, please link/include them here:

Is there a release notes update needed for this change?:

Additional documentation:

bencomp avatar Oct 03 '22 11:10 bencomp