Api 43135 poa updated notification dependent #19972
Open
GitHub Actions / Test Results
failed
Dec 20, 2024 in 0s
2 fail, 6 skipped, 28 050 pass in 1h 4m 58s
Annotations
Check warning on line 0 in ./modules/claims_api/spec/sidekiq/va_notify_accepted_job_spec.rb
github-actions / Test Results
ClaimsApi::VANotifyAcceptedJob#perform when the POA is filed by a dependent claimant #send_representative_notification for dependent formats the values correctly (modules.claims_api.spec.sidekiq.va_notify_accepted_job_spec) failed
Test Results/rspec13.xml [took 0s]
Raw output
Expected \e[33m{ recipient_identifier: "1111111V2222", personalisation: { first_name: "", rep_first_name: "Bob", rep_last_name: "Law", representative_type: "ATTORNEY", address: "123 Park Plaza\n Suite 2a", location: "Portland, OR 12345-6789", email: "[email protected]", phone: "1234567890" }, template_id: "xxxxxx-zzzz-aaaa-bbbb-cccccccc" }\e[0m to eq \e[35m{ recipient_identifier: "1111111V2222", personalisation: { first_name: "Jeffery", rep_first_name: "Bob", rep_last_name: "Law", representative_type: "ATTORNEY", address: "123 Park Plaza\n Suite 2a", location: "Portland, OR 12345-6789", email: "[email protected]", phone: "1234567890" }, template_id: "xxxxxx-zzzz-aaaa-bbbb-cccccccc" }\e[0m Diff: { recipient_identifier: "1111111V2222", personalisation: { \e[35m- first_name: "Jeffery",\e[0m \e[33m+ first_name: "",\e[0m rep_first_name: "Bob", rep_last_name: "Law", representative_type: "ATTORNEY", address: "123 Park Plaza\n Suite 2a", location: "Portland, OR 12345-6789", email: "[email protected]", phone: "1234567890" }, template_id: "xxxxxx-zzzz-aaaa-bbbb-cccccccc" }
\e[1mFailure/Error: \e[0mexpect(res).to eq(dependent_expected_params)
Expected \e[33m{ recipient_identifier: "1111111V2222", personalisation: { first_name: "", rep_first_name: "Bob", rep_last_name: "Law", representative_type: "ATTORNEY", address: "123 Park Plaza\n Suite 2a", location: "Portland, OR 12345-6789", email: "[email protected]", phone: "1234567890" }, template_id: "xxxxxx-zzzz-aaaa-bbbb-cccccccc" }\e[0m
to eq \e[35m{ recipient_identifier: "1111111V2222", personalisation: { first_name: "Jeffery", rep_first_name: "Bob", rep_last_name: "Law", representative_type: "ATTORNEY", address: "123 Park Plaza\n Suite 2a", location: "Portland, OR 12345-6789", email: "[email protected]", phone: "1234567890" }, template_id: "xxxxxx-zzzz-aaaa-bbbb-cccccccc" }\e[0m
Diff:
{
recipient_identifier: "1111111V2222",
personalisation: {
\e[35m- first_name: "Jeffery",\e[0m
\e[33m+ first_name: "",\e[0m
rep_first_name: "Bob",
rep_last_name: "Law",
representative_type: "ATTORNEY",
address: "123 Park Plaza\n Suite 2a",
location: "Portland, OR 12345-6789",
email: "[email protected]",
phone: "1234567890"
},
template_id: "xxxxxx-zzzz-aaaa-bbbb-cccccccc"
}
/usr/local/bundle/cache/ruby/3.3.0/gems/super_diff-0.14.0/lib/super_diff/rspec/monkey_patches.rb:43:in `handle_failure'
./modules/claims_api/spec/sidekiq/va_notify_accepted_job_spec.rb:129:in `block (5 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
github-actions / Test Results
TestDisabilityCompensationValidationClass validation for BDD_PROGRAM claim when federalActivation is present and all the required attributes are present (modules.claims_api.spec.lib.claims_api.v2.disability_compensation_validation_spec) failed
Test Results/rspec16.xml [took 0s]
Raw output
Expected \e[33m[{ detail: "The anticipated separation date must be a date in the future.", source: "/serviceInformation/federalActivation/", title: "Unprocessable Entity", status: "422" }]\e[0m to eq \e[35mnil\e[0m
\e[1mFailure/Error: \e[0mexpect(current_error_array).to eq(nil)
Expected \e[33m[{ detail: "The anticipated separation date must be a date in the future.", source: "/serviceInformation/federalActivation/", title: "Unprocessable Entity", status: "422" }]\e[0m
to eq \e[35mnil\e[0m
/usr/local/bundle/cache/ruby/3.3.0/gems/super_diff-0.14.0/lib/super_diff/rspec/monkey_patches.rb:43:in `handle_failure'
./modules/claims_api/spec/lib/claims_api/v2/disability_compensation_validation_spec.rb:526:in `block (4 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
Loading