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

change the way fieldPredicate value is found #1923

Merged
merged 1 commit into from
May 10, 2024

Conversation

smutniak
Copy link
Contributor

Fixes #1922

@smutniak smutniak merged commit f833d3d into main May 10, 2024
3 of 5 checks passed
@cstarcher cstarcher deleted the 4.2.7_advisorEmailUponFileUpload branch May 30, 2024 22:33
kaladay added a commit to TAMULib/Vireo that referenced this pull request Jul 12, 2024
The error:
```
[ERROR] Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0 s <<< FAILURE! - in org.tdl.vireo.model.EmailRecipientContactTest
[ERROR] testGetEmails  Time elapsed: 0 s  <<< FAILURE!
org.opentest4j.AssertionFailedError: Emails array does not have the correct length. ==> expected: <0> but was: <2>
	at org.tdl.vireo.model.EmailRecipientContactTest.testGetEmails(EmailRecipientContactTest.java:50)
```

This PR and commit:
- TexasDigitalLibrary#1923
- TexasDigitalLibrary@7b4a7b8

Did not also update the unit test.

This updates the unit test to now mock `getFieldValuesByPredicateValue()` instead of mocking `getFieldValuesByPredicate()`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants