Skip to content

Jmax/lg 8889 best effort parsing of aamva exceptions#7879

Merged
jmax-gsa merged 13 commits intomainfrom
jmax/LG-8889-best-effort-parsing-of-aamva-exceptions
Mar 7, 2023
Merged

Jmax/lg 8889 best effort parsing of aamva exceptions#7879
jmax-gsa merged 13 commits intomainfrom
jmax/LG-8889-best-effort-parsing-of-aamva-exceptions

Conversation

@jmax-gsa
Copy link
Contributor

No description provided.

@jmax-gsa jmax-gsa force-pushed the jmax/LG-8889-best-effort-parsing-of-aamva-exceptions branch from 5aa5065 to 1368401 Compare February 23, 2023 19:13
@jmax-gsa jmax-gsa marked this pull request as ready for review February 27, 2023 22:06
applicant: applicant,
session_id: '1234-abcd-efgh',
)
describe '#send_verification_request' do
Copy link
Contributor

Choose a reason for hiding this comment

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

This describe block looks like it is describing the same method as the block above

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is, but a different aspect of the method. The setup code was different enough to warrant splitting the describe block.


it 'parses the raw response body' do
begin
response
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure I follow what this test is trying to accomplish? It looks like the test below covers what we actually care about.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

An explicit test that we tried to parse the body.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed.

@jmhooper
Copy link
Contributor

It looks like we aren't covering a case that we are concerned about in the tests. That is when we have the MVA timeout which will have a 500 response and a response body that we should be able to use the SOAP fault response fixture to put together.

@jmax-gsa jmax-gsa requested a review from jmhooper March 1, 2023 15:57
jmax-gsa added 2 commits March 6, 2023 14:44
Removed explict checks for calls to REXML methods; it is enough to
make sure we get the correct information out of the XML when it's
available.
One more REXML spec removed.
@jmax-gsa jmax-gsa merged commit 692a432 into main Mar 7, 2023
@jmax-gsa jmax-gsa deleted the jmax/LG-8889-best-effort-parsing-of-aamva-exceptions branch March 7, 2023 17:36
@jmdembe jmdembe mentioned this pull request Mar 9, 2023
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.

3 participants