-
Notifications
You must be signed in to change notification settings - Fork 19
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
Circstore 506 #464
Circstore 506 #464
Conversation
@@ -93,6 +93,10 @@ | |||
"description": "Indicates whether or not this loan had its due date modified by a recall on the loaned item", | |||
"type": "boolean" | |||
}, | |||
"isDcb": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With this change we are altering the corresponding interface, which means we should also increase its version in both RAML and ModuleDescriptor
|
||
JsonObject loan = loansClient.create(loanRequest).getJson(); | ||
|
||
assertThat("id does not match", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really have to check every property of the loan in these test cases? We are only adding one, so maybe checking that this new field can be read and written is enough?
Quality Gate passedIssues Measures |
Purpose: https://folio-org.atlassian.net/browse/CIRCSTORE-506
Approach: added isDcb flag in loan.json and added few testcases for loan creation when is isDcb feild is present with values true or false