Skip to content

Commit

Permalink
Removes actions from the definitions file for vnpPtcpntPhone and vnpP…
Browse files Browse the repository at this point in the history
…tcpnt. Removes the corresponding tests in the find_defintions_spec.
  • Loading branch information
stiehlrod committed Dec 18, 2024
1 parent e459d58 commit f7f1e92
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 46 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -509,15 +509,6 @@ module VnpPtcpntPhoneService
bean: VnpPtcpntPhoneWebServiceBean::DEFINITION,
path: 'VnpPtcpntPhoneService'
)

module FindPersonBySSN
DEFINITION =
Action.new(
service: VnpPtcpntPhoneService::DEFINITION,
name: 'vnpPtcpntPhoneCreate',
key: 'return'
)
end
end

##
Expand All @@ -540,15 +531,6 @@ module VnpPtcpntService
bean: VnpPtcpntWebServiceBean::DEFINITION,
path: 'VnpPtcpntService'
)

module VnpPtcpntCreate
DEFINITION =
Action.new(
service: VnpPtcpntService::DEFINITION,
name: 'vnpPtcpntCreate',
key: 'return'
)
end
end
end
end
Expand Down
28 changes: 0 additions & 28 deletions modules/claims_api/spec/lib/claims_api/find_definition_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -114,34 +114,6 @@
expect(parsed_result['service']['bean']['namespaces']['target']).to eq 'http://ptcpntAddrsService.services.vonapp.vba.va.gov/'
end
end

context 'VnpPtcpntPhoneWebServiceBean' do
let(:endpoint) { 'VnpPtcpntPhoneWebServiceBean/VnpPtcpntPhoneService' }
let(:action) { 'vnpPtcpntPhoneCreate' }
let(:key) { 'return' }

it 'response with the correct attributes' do
result = subject.for_action(endpoint, action)
parsed_result = JSON.parse(result.to_json)
expect(parsed_result['service']['bean']['path']).to eq 'VnpPtcpntPhoneWebServiceBean'
expect(parsed_result['service']['path']).to eq 'VnpPtcpntPhoneService'
expect(parsed_result['service']['bean']['namespaces']['target']).to eq 'http://ptcpntPhoneService.services.vonapp.vba.va.gov/'
end
end

context 'VnpPtcpntWebServiceBean' do
let(:endpoint) { 'VnpPtcpntWebServiceBean/VnpPtcpntService' }
let(:action) { 'vnpPtcpntCreate' }
let(:key) { 'return' }

it 'response with the correct attributes' do
result = subject.for_action(endpoint, action)
parsed_result = JSON.parse(result.to_json)
expect(parsed_result['service']['bean']['path']).to eq 'VnpPtcpntWebServiceBean'
expect(parsed_result['service']['path']).to eq 'VnpPtcpntService'
expect(parsed_result['service']['bean']['namespaces']['target']).to eq 'http://ptcpntService.services.vonapp.vba.va.gov/'
end
end
end
end

Expand Down

0 comments on commit f7f1e92

Please sign in to comment.