Skip to content

Build Test Lint of main by @ShanaLMoore #83

Build Test Lint of main by @ShanaLMoore

Build Test Lint of main by @ShanaLMoore #83

Triggered via push October 3, 2023 17:23
Status Failure
Total duration 17m 49s
Artifacts
Matrix: test / test
Fit to window
Zoom out
Zoom in

Annotations

35 errors
lint / lint
Process completed with exit code 1.
./spec/models/bulkrax/csv_entry_spec.rb.Bulkrax::CsvEntry#build_metadata assigns factory_class and parsed_metadata: spec/models/bulkrax/csv_entry_spec.rb#L80
No such file or directory @ rb_sysopen - /app/samvera/hyrax-webapp/spec/fixtures/csv/entry.csv
./spec/models/user_spec.rb.User#site_roles fetches the global roles assigned to the user: spec/models/user_spec.rb#L40
expected collection contained: ["admin", "registered"] actual collection contained: ["admin"] the missing elements were: ["registered"]
./spec/models/user_spec.rb.User#site_roles= assigns global roles to the user: spec/models/user_spec.rb#L48
expected collection contained: ["registered"] actual collection contained: [] the missing elements were: ["registered"]
./spec/features/accounts_spec.rb.Accounts administration as an superadmin changes the account service endpoints: spec/features/accounts_spec.rb#L23
No route matches {:action=>"edit", :controller=>"proprietor/accounts", :id=>#<Account id: 1, tenant: "9f840947-fa92-4948-ba0e-fbd7f85d8489", cname: "54996601641106525389715557074495103796.0a4b7cf352e...", created_at: "2023-10-03 17:40:01", updated_at: "2023-10-03 17:40:01", solr_endpoint_id: 5, fcrepo_endpoint_id: 6, name: "54996601641106525389715557074495103796", redis_endpoint_id: 2, is_public: false, settings: {"contact_email"=>"abc@abc.com", "weekly_email_list"=>["aaa@aaa.com", "bbb@bl.uk"], "monthly_email_list"=>["aaa@aaa.com", "bbb@bl.uk"], "yearly_email_list"=>["aaa@aaa.com", "bbb@bl.uk"], "google_scholarly_work_types"=>["Article", "Book", "ThesisOrDissertation", "BookChapter"], "gtm_id"=>"GTM-123456", "shared_login"=>"true", "email_format"=>["@pacificu.edu", "@ubiquitypress.com", "@test.com"], "allow_signup"=>"true", "google_analytics_id"=>"UA-123456-12"}, data_cite_endpoint_id: 4, search_only: false>}
./spec/features/accounts_spec.rb.Accounts administration as an superadmin changes the associated cname: spec/features/accounts_spec.rb#L23
No route matches {:action=>"edit", :controller=>"proprietor/accounts", :id=>#<Account id: 2, tenant: "41185dc3-fcf0-4956-9b22-a3d505db6e15", cname: "161850899125984999041893129801482206954.0a4b7cf352...", created_at: "2023-10-03 17:40:02", updated_at: "2023-10-03 17:40:02", solr_endpoint_id: 11, fcrepo_endpoint_id: 12, name: "161850899125984999041893129801482206954", redis_endpoint_id: 8, is_public: false, settings: {"contact_email"=>"abc@abc.com", "weekly_email_list"=>["aaa@aaa.com", "bbb@bl.uk"], "monthly_email_list"=>["aaa@aaa.com", "bbb@bl.uk"], "yearly_email_list"=>["aaa@aaa.com", "bbb@bl.uk"], "google_scholarly_work_types"=>["Article", "Book", "ThesisOrDissertation", "BookChapter"], "gtm_id"=>"GTM-123456", "shared_login"=>"true", "email_format"=>["@pacificu.edu", "@ubiquitypress.com", "@test.com"], "allow_signup"=>"true", "google_analytics_id"=>"UA-123456-12"}, data_cite_endpoint_id: 10, search_only: false>}
./spec/forms/hyrax/generic_work_form_spec.rb.Hyrax::GenericWorkForm.terms returns an array of inherited and custom terms: spec/forms/hyrax/generic_work_form_spec.rb#L28
expected: [:aark_id, :abstract, :admin_set_id, :alt, :based_near, :bibliographic_citation, :contributor, :creat...bility_after_embargo, :visibility_after_lease, :visibility_during_embargo, :visibility_during_lease] got: [:aark_id, :abstract, :access_right, :admin_set_id, :alt, :alternative_title, :based_near, :bibliogra...bility_after_embargo, :visibility_after_lease, :visibility_during_embargo, :visibility_during_lease] (compared using ==) Diff: @@ -1,7 +1,9 @@ [:aark_id, :abstract, + :access_right, :admin_set_id, :alt, + :alternative_title, :based_near, :bibliographic_citation, :contributor, @@ -27,6 +29,7 @@ :rendering_ids, :representative_id, :resource_type, + :rights_notes, :rights_statement, :source, :subject,
./spec/models/image_spec.rb.Image indexer : spec/models/image_spec.rb#L10
uninitialized constant WorkIndexer
./spec/search_builders/adv_search_builder_spec.rb.AdvSearchBuilder.default_processor_chain is expected to eq [:default_solr_parameters, :add_query_to_solr, :add_facet_fq_to_solr, :add_facetting_to_solr, :add_so...ccess, :exclude_models, :highlight_search_params, :show_parents_only, :include_allinson_flex_fields]: spec/search_builders/adv_search_builder_spec.rb#L55
expected: [:default_solr_parameters, :add_query_to_solr, :add_facet_fq_to_solr, :add_facetting_to_solr, :add_so...ccess, :exclude_models, :highlight_search_params, :show_parents_only, :include_allinson_flex_fields] got: [:default_solr_parameters, :add_query_to_solr, :add_facet_fq_to_solr, :add_facetting_to_solr, :add_so...ccess, :exclude_models, :highlight_search_params, :show_parents_only, :include_allinson_flex_fields] (compared using ==) Diff: @@ -8,11 +8,11 @@ :add_group_config_to_solr, :add_facet_paging_to_solr, :add_range_limit_params, - :add_advanced_parse_q_to_solr, - :add_advanced_search_to_solr, :add_access_controls_to_solr_params, :filter_models, :only_active_works, + :add_advanced_parse_q_to_solr, + :add_advanced_search_to_solr, :add_access_controls_to_solr_params, :show_works_or_works_that_contain_files, :show_only_active_records,
./spec/features/contact_spec.rb.Site contact configuration as an administrator application name updates the application name in the brand bar: spec/features/contact_spec.rb#L13
undefined local variable or method `edit_site_contact_path' for #<RSpec::ExampleGroups::SiteContactConfiguration::AsAnAdministrator::ApplicationName:0x00007f0e47b4ca88> Did you mean? edit_site_labels_path
./spec/forms/hyrax/image_form_spec.rb.Hyrax::ImageForm.terms returns an array of inherited and custom terms: spec/forms/hyrax/image_form_spec.rb#L29
expected: [:aark_id, :abstract, :admin_set_id, :alt, :based_near, :bibliographic_citation, :contributor, :creat...bility_after_embargo, :visibility_after_lease, :visibility_during_embargo, :visibility_during_lease] got: [:aark_id, :abstract, :access_right, :admin_set_id, :alt, :alternative_title, :based_near, :bibliogra...bility_after_embargo, :visibility_after_lease, :visibility_during_embargo, :visibility_during_lease] (compared using ==) Diff: @@ -1,7 +1,9 @@ [:aark_id, :abstract, + :access_right, :admin_set_id, :alt, + :alternative_title, :based_near, :bibliographic_citation, :contributor, @@ -28,6 +30,7 @@ :rendering_ids, :representative_id, :resource_type, + :rights_notes, :rights_statement, :source, :subject,
./spec/presenters/hyku/admin/group/navigation_presenter_spec.rb.Hyku::Admin::Group::NavigationPresenter with remve page has 3 tabs: spec/presenters/hyku/admin/group/navigation_presenter_spec.rb#L52
expected #<Integer:7> => 3 got #<Integer:9> => 4 Compared using equal?, which compares object identity, but expected and actual are not the same object. Use `expect(actual).to eq(expected)` if you don't care about object identity in this example.
./spec/presenters/hyku/admin/group/navigation_presenter_spec.rb.Hyku::Admin::Group::NavigationPresenter with members page has 3 tabs: spec/presenters/hyku/admin/group/navigation_presenter_spec.rb#L36
expected #<Integer:7> => 3 got #<Integer:9> => 4 Compared using equal?, which compares object identity, but expected and actual are not the same object. Use `expect(actual).to eq(expected)` if you don't care about object identity in this example.
./spec/presenters/hyku/admin/group/navigation_presenter_spec.rb.Hyku::Admin::Group::NavigationPresenter with edit page has 3 tabs: spec/presenters/hyku/admin/group/navigation_presenter_spec.rb#L20
expected #<Integer:7> => 3 got #<Integer:9> => 4 Compared using equal?, which compares object identity, but expected and actual are not the same object. Use `expect(actual).to eq(expected)` if you don't care about object identity in this example.
./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: spec/services/adventist/text_file_text_extraction_service_spec.rb#L25
expected collection contained: [Adventist::TextFileTextExtractionService, IiifPrint::PluggableDerivativeService] actual collection contained: [IiifPrint::PluggableDerivativeService] the missing elements were: [Adventist::TextFileTextExtractionService]
./spec/features/roles_spec.rb.Site Roles as an administrator updates user roles: spec/features/roles_spec.rb#L20
No route matches {:action=>"index", :controller=>"roles"}
./spec/features/roles_spec.rb.Site Roles as an administrator lists user roles: spec/features/roles_spec.rb#L13
No route matches {:action=>"index", :controller=>"roles"}
test / test (3, 2)
❌ Tests reported 9 failures
test / test (3, 2)
Process completed with exit code 1.
test / test (3, 0)
Process completed with exit code 1.
test / test (3, 0)
❌ Tests reported 9 failures
test / test (3, 1)
Process completed with exit code 1.
test / test (3, 1)
❌ Tests reported 10 failures