Skip to content

Build Test Lint of 42/merge by @jeremyf #121

Build Test Lint of 42/merge by @jeremyf

Build Test Lint of 42/merge by @jeremyf #121

GitHub Actions / JUnit Test Report failed Oct 4, 2023 in 0s

44 tests run, 29 passed, 12 skipped, 3 failed.

Annotations

Check failure on line 10 in spec/models/image_spec.rb

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

./spec/models/image_spec.rb.Image indexer

uninitialized constant WorkIndexer
Raw output
Failure/Error: it { is_expected.to eq WorkIndexer }

NameError:
  uninitialized constant WorkIndexer
./spec/models/image_spec.rb:10:in `block (3 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
./hyrax-webapp/spec/support/multitenancy_metadata.rb:50: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'
./spec/spec_helper.rb:10:in `block (2 levels) in <top (required)>'

Check failure on line 29 in spec/controllers/hyrax/hyrax/images_controller_spec.rb

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

./spec/controllers/hyrax/hyrax/images_controller_spec.rb.Hyrax::ImagesController#presenter initializes a presenter

Blacklight::Exceptions::RecordNotFound
Raw output
Failure/Error: subject { controller.send :presenter }

Blacklight::Exceptions::RecordNotFound:
  Blacklight::Exceptions::RecordNotFound
/usr/local/bundle/gems/blacklight-6.25.0/lib/blacklight/solr/repository.rb:14:in `find'
/usr/local/bundle/gems/blacklight-6.25.0/app/models/concerns/blacklight/document/active_model_shim.rb:29:in `find'
/usr/local/bundle/gems/hyrax-3.5.0/app/search_builders/hyrax/filter_suppressed_with_roles.rb:25:in `only_active_works'
/usr/local/bundle/gems/blacklight-6.25.0/lib/blacklight/search_builder.rb:147:in `block (2 levels) in processed_parameters'
/usr/local/bundle/gems/blacklight-6.25.0/lib/blacklight/search_builder.rb:146:in `each'
/usr/local/bundle/gems/blacklight-6.25.0/lib/blacklight/search_builder.rb:146:in `block in processed_parameters'
/usr/local/bundle/gems/blacklight-6.25.0/lib/blacklight/search_builder.rb:145:in `tap'
/usr/local/bundle/gems/blacklight-6.25.0/lib/blacklight/search_builder.rb:145:in `processed_parameters'
/usr/local/bundle/gems/blacklight-6.25.0/lib/blacklight/search_builder.rb:119:in `to_hash'
/usr/local/bundle/gems/blacklight-6.25.0/lib/blacklight/solr/repository.rb:61:in `block in send_and_receive'
/usr/local/bundle/gems/blacklight-6.25.0/lib/blacklight/solr/repository.rb:59:in `send_and_receive'
/usr/local/bundle/gems/blacklight-6.25.0/lib/blacklight/solr/repository.rb:22:in `search'
/usr/local/bundle/gems/blacklight-6.25.0/app/controllers/concerns/blacklight/search_helper.rb:59:in `search_results'
./hyrax-webapp/app/controllers/concerns/hyrax/works_controller_behavior.rb:290:in `search_result_document'
./hyrax-webapp/app/controllers/concerns/hyrax/works_controller_behavior.rb:221:in `presenter'
./spec/controllers/hyrax/hyrax/images_controller_spec.rb:20:in `block (3 levels) in <top (required)>'
./spec/controllers/hyrax/hyrax/images_controller_spec.rb:29:in `block (3 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
./hyrax-webapp/spec/support/multitenancy_metadata.rb:50: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'
./spec/spec_helper.rb:10:in `block (2 levels) in <top (required)>'

Check failure on line 25 in spec/services/adventist/text_file_text_extraction_service_spec.rb

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

./spec/services/adventist/text_file_text_extraction_service_spec.rb.Adventist::TextFileTextExtractionService position in the array of Hyrax::DerivativeService.services is in the first position

expected collection contained:  [Adventist::TextFileTextExtractionService, IiifPrint::PluggableDerivativeService]
actual collection contained:    [IiifPrint::PluggableDerivativeService]
the missing elements were:      [Adventist::TextFileTextExtractionService]
Raw output
Failure/Error:
  expect(Hyrax::DerivativeService.services).to(
    match_array(
      [Adventist::TextFileTextExtractionService,
       IiifPrint::PluggableDerivativeService]
    )
  )

  expected collection contained:  [Adventist::TextFileTextExtractionService, IiifPrint::PluggableDerivativeService]
  actual collection contained:    [IiifPrint::PluggableDerivativeService]
  the missing elements were:      [Adventist::TextFileTextExtractionService]
./spec/services/adventist/text_file_text_extraction_service_spec.rb:25:in `block (3 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
./hyrax-webapp/spec/support/multitenancy_metadata.rb:50: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'
./spec/spec_helper.rb:10:in `block (2 levels) in <top (required)>'