-
Notifications
You must be signed in to change notification settings - Fork 66
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
API-42930-vnp-proc-service-2-standardization #19893
Conversation
@@ -433,7 +433,7 @@ module VnpProcFormCreate | |||
module VnpProcWebServiceBeanV2 | |||
DEFINITION = | |||
Bean.new( | |||
path: 'VnpProcWebServiceBeanV2', | |||
path: 'VnpProcWebServiceBeanV2/VnpProcServiceV2', |
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.
Why are we adding the service to the path here? The other modules only have the Bean in the path. Is this pattern unique to 'Vnp' services?
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.
yeah, this is actually causing it to call for the WSDL.
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.
Sounds good! My mistake, I think this comment ☝️ means we want to remove the extra VnpProcServiceV2
.
context 'VnpProcWebServiceBeanV2' do | ||
let(:endpoint) { 'VnpProcWebServiceBeanV2/VnpProcServiceV2' } | ||
|
||
it 'response with the correct namespace' do | ||
result = subject.for_service(endpoint) | ||
parsed_result = JSON.parse(result.to_json) | ||
expect(parsed_result['bean']['path']).to eq 'VnpProcWebServiceBeanV2' | ||
expect(parsed_result['path']).to eq 'VnpProcServiceV2' | ||
expect(parsed_result['bean']['namespaces']['target']).to eq 'http://procService.services.v2.vonapp.vba.va.gov/' | ||
end | ||
end |
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.
Should we keep this test?
Summary
Related issue(s)
Testing done
What areas of the site does it impact?
Acceptance criteria