Build Test Lint of main by @ShanaLMoore #69
build-test-lint.yaml
on: push
build
/
build
11m 13s
lint
/
lint
4m 8s
Matrix: test / test
Annotations
35 errors
lint / lint
Process completed with exit code 1.
|
|
|
./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/models/user_spec.rb.User the first created user in global tenant does not get the admin role:
spec/models/user_spec.rb#L12
Factory not registered: "base_user"
|
./spec/models/user_spec.rb.User the first created user on a tenant is given the admin role:
spec/models/user_spec.rb#L21
Factory not registered: "base_user"
|
./spec/models/user_spec.rb.User a subsequent user does not get the admin role:
spec/models/user_spec.rb#L27
Factory not registered: "base_user"
|
./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/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
|
|
test / test (3, 2)
❌ Tests reported 9 failures
|
test / test (3, 2)
Process completed with exit code 1.
|
./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/labels_spec.rb.Site labels configuration as an administrator institution name updates the institution name in the agreement text:
spec/features/labels_spec.rb#L37
No route matches {:action=>"edit", :controller=>"labels"}
|
./spec/features/labels_spec.rb.Site labels configuration as an administrator application name updates the application name in the brand bar:
spec/features/labels_spec.rb#L13
No route matches {:action=>"edit", :controller=>"labels"}
|
./spec/features/labels_spec.rb.Site labels configuration as an administrator application name updates the application name in the <head> <title>:
spec/features/labels_spec.rb#L20
No route matches {:action=>"edit", :controller=>"labels"}
|
./spec/features/labels_spec.rb.Site labels configuration as an administrator institution name full updates the full institution name in the agreement text:
spec/features/labels_spec.rb#L55
No route matches {:action=>"edit", :controller=>"labels"}
|
./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/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: 1, tenant: "7406bbda-44a3-4306-9cf2-1b6fb7c992ea", cname: "80416649075575965150622345290966690929.d5402024677...", created_at: "2023-10-02 23:31:33", updated_at: "2023-10-02 23:31:33", solr_endpoint_id: 5, fcrepo_endpoint_id: 6, name: "80416649075575965150622345290966690929", 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 account service endpoints:
spec/features/accounts_spec.rb#L23
No route matches {:action=>"edit", :controller=>"proprietor/accounts", :id=>#<Account id: 2, tenant: "7906afe4-411d-4dc4-bb2a-3d7183a26ba6", cname: "166553987185339127049168833960715348859.d540202467...", created_at: "2023-10-02 23:31:34", updated_at: "2023-10-02 23:31:34", solr_endpoint_id: 11, fcrepo_endpoint_id: 12, name: "166553987185339127049168833960715348859", 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>}
|
test / test (3, 0)
Process completed with exit code 1.
|
test / test (3, 0)
❌ Tests reported 9 failures
|
./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"}
|
./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/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:0x00007f9cc32057f8>
Did you mean? edit_site_labels_path
|
./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 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/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/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/controllers/hyrax/hyrax/admin/appearances_controller_spec.rb.Hyrax::Admin::AppearancesController with an administrator GET #show assigns the requested site as @site:
spec/controllers/hyrax/hyrax/admin/appearances_controller_spec.rb#L31
No such file or directory @ rb_sysopen - config/home_themes.yml
|
./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]
|
test / test (3, 1)
Process completed with exit code 1.
|
test / test (3, 1)
❌ Tests reported 10 failures
|