Skip to content

Cannot install in org without Orders Enabled #158

@daveerickson

Description

@daveerickson

When trying to install in a sandbox org without Orders enabled, throws exception:

ApexClass Invalid type: OrderItem
fflib_ApexMocksUtilsTest: Invalid type: OrderItem

This appears to be related to a test method added in this PR: #156

I am wondering is testing with Product2, OpportunityLineItem, and Opportunity could validate the same behavior?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions