Skip to content

CDA-86: Added test to verify office permission bug is resolved.#1601

Open
zack-rma wants to merge 5 commits intoUSACE:developfrom
zack-rma:bugfix/metadata-spec-fix
Open

CDA-86: Added test to verify office permission bug is resolved.#1601
zack-rma wants to merge 5 commits intoUSACE:developfrom
zack-rma:bugfix/metadata-spec-fix

Conversation

@zack-rma
Copy link
Collaborator

Resolves #1522.

Office issue has been resolved in previous update, this PR includes a test to verify the issue no longer exists.

Message left without update as issue could not be replicated.

rma-rripken
rma-rripken previously approved these changes Feb 24, 2026
.then()
.log().ifValidationFails(LogDetail.ALL,true)
.assertThat()
.statusCode(is(HttpServletResponse.SC_OK));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yesterdays CDA endpoints call made it pretty clear that just because we get a 200, doesn't mean we got any data. Several returned empty sets when we knew there was data.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've updated the test to verify the response data.

@zack-rma
Copy link
Collaborator Author

Looks like the tests are failing, I'll be looking into this further.

@zack-rma zack-rma marked this pull request as draft February 25, 2026 18:53
@zack-rma zack-rma marked this pull request as ready for review February 25, 2026 20:00
@zack-rma
Copy link
Collaborator Author

Expected results were not being included in the first response page. Added page size query parameter to the test.

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.

GET /ratings/metdata requires office, swagger spec does not

3 participants