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

Circstore 506 #464

Merged
merged 3 commits into from
Jun 6, 2024
Merged

Circstore 506 #464

merged 3 commits into from
Jun 6, 2024

Conversation

SreejaMangarapu
Copy link
Contributor

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

@@ -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": {
Copy link
Contributor

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",
Copy link
Contributor

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?

Copy link

sonarqubecloud bot commented Jun 3, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@SreejaMangarapu SreejaMangarapu merged commit 5137c20 into master Jun 6, 2024
8 checks passed
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

Successfully merging this pull request may close these issues.

4 participants