Skip to content

Added virus scan to uploads spec #13654

Added virus scan to uploads spec

Added virus scan to uploads spec #13654

GitHub Actions / Test Results failed Apr 17, 2024 in 0s

1 fail, 51 skipped, 19 446 pass in 40m 43s

    13 files      13 suites   40m 43s ⏱️
19 498 tests 19 446 ✅ 51 💤 1 ❌
19 770 runs  19 718 ✅ 51 💤 1 ❌

Results for commit 2f7493f.

Annotations

Check warning on line 0 in ./modules/simple_forms_api/spec/requests/v1/uploads_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 11 runs failed: Forms uploader #submit going to Lighthouse Benefits Intake API saves a FormSubmissionAttempt (modules.simple_forms_api.spec.requests.v1.uploads_spec)

Test Results/rspec8.xml [took 14s]
Raw output
expected `FormSubmissionAttempt.count` to have changed by 1, but was changed by 0
\e[1mFailure/Error: \e[0m
  expect do
    post '/simple_forms_api/v1/simple_forms', params: data
  end.to change(FormSubmissionAttempt, :count).by(1)

  expected `FormSubmissionAttempt.count` to have changed by 1, but was changed by 0
/usr/local/bundle/gems/super_diff-0.11.0/lib/super_diff/rspec/monkey_patches.rb:45:in `handle_failure'
./modules/simple_forms_api/spec/requests/v1/uploads_spec.rb:66:in `block (5 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.23.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'