Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

*CollectionProcessors* - _SortCollectionTest_ - tests fail in orgs where Draft does not exist as Contract Status #1568

Open
michaweber opened this issue Jul 24, 2024 · 0 comments

Comments

@michaweber
Copy link

Steps to reproduce

  1. Install Package in an org where Draft does not exist as Contract Status
  2. Run all SortCollectionTests

Expected behaviour

all Tests Pass

Actual behaviour

all Tests Fail

SortCollectionTest.testTimeComparable Fail System.DmlException: Insert failed. First exception on row 0; first error: INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST, Status: bad value for restricted picklist field: Draft: [Status]
Class.SortCollectionTest.makeData: line 136, column 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant