Skip to content

Add per-tenant Bulkrax field mappings #2048

Add per-tenant Bulkrax field mappings

Add per-tenant Bulkrax field mappings #2048

GitHub Actions / Test Results failed Nov 20, 2024 in 0s

1 fail, 50 skipped, 1 996 pass in 18m 20s

    3 files  +  1      3 suites  +1   18m 20s ⏱️ + 6m 43s
2 047 tests +805  1 996 ✅ +785  50 💤 +19  1 ❌ +1 
2 074 runs  +819  2 021 ✅ +797  52 💤 +21  1 ❌ +1 

Results for commit f0efedf. ± Comparison against earlier commit 3bc0318.

Annotations

Check warning on line 0 in ./spec/features/accounts_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Accounts administration as an superadmin changes the account service endpoints (spec.features.accounts_spec) failed

artifacts/spec-reports-2/rspec-2.xml [took 0s]
Raw output
undefined method `each' for "@pacificu.edu @ubiquitypress.com @test.com":String
Failure/Error:
  settings['email_format'].each do |email|
    errors.add(:email_format) unless email.match?(/@\S*\.\S*/)
  end

NoMethodError:
  undefined method `each' for "@pacificu.edu @ubiquitypress.com @test.com":String
./app/models/concerns/account_settings.rb:151:in `validate_email_format'
./app/controllers/proprietor/accounts_controller.rb:66:in `block in update'
./app/controllers/proprietor/accounts_controller.rb:65:in `update'
(eval):2:in `process_action'
(eval):3:in `block in process_action'
/usr/local/bundle/bundler/gems/rails-d16199e50708/actiontext/lib/action_text/rendering.rb:20:in `with_renderer'
/usr/local/bundle/bundler/gems/rails-d16199e50708/actiontext/lib/action_text/engine.rb:59:in `block (4 levels) in <class:Engine>'
(eval):2:in `process_action'
(eval):3:in `process'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:470:in `call_app!'
/usr/local/bundle/gems/omniauth-saml-2.1.2/lib/omniauth/strategies/saml.rb:86:in `other_phase'
./lib/omni_auth/strategies/saml_decorator.rb:30:in `other_phase'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:195:in `call!'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169:in `call'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:470:in `call_app!'
/usr/local/bundle/gems/omniauth_openid_connect-0.7.1/lib/omniauth/strategies/openid_connect.rb:157:in `other_phase'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:195:in `call!'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169:in `call'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:202:in `call!'
/usr/local/bundle/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/deflater.rb:44:in `call'
/usr/local/bundle/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'
/usr/local/bundle/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'
/usr/local/bundle/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'
/usr/local/bundle/bundler/gems/apartment-9ad4b0ef2ee6/lib/apartment/elevators/generic.rb:23:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/tempfile_reaper.rb:15:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/etag.rb:27:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/conditional_get.rb:40:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/head.rb:12:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/session/abstract/id.rb:266:in `context'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/session/abstract/id.rb:260:in `call'
/usr/local/bundle/gems/active-fedora-14.0.1/lib/active_fedora/ldp_cache.rb:26:in `call'
/usr/local/bundle/gems/flipflop-2.7.1/lib/flipflop/feature_cache.rb:12:in `call'
/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/rack/logger.rb:37:in `call_app'
/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/rack/logger.rb:26:in `block in call'
/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/rack/logger.rb:26:in `call'
/usr/local/bundle/gems/request_store-1.5.1/lib/request_store/middleware.rb:19:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/method_override.rb:24:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/runtime.rb:22:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/sendfile.rb:110:in `call'
/usr/local/bundle/gems/secure_headers-6.5.0/lib/secure_headers/middleware.rb:11:in `call'
/usr/local/bundle/bundler/gems/rails-d16199e50708/railties/lib/rails/engine.rb:539:in `call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/urlmap.rb:74:in `block in call'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/urlmap.rb:58:in `each'
/usr/local/bundle/gems/rack-2.2.9/lib/rack/urlmap.rb:58:in `call'
/usr/local/bundle/gems/rack-test-0.7.0/lib/rack/mock_session.rb:30:in `request'
/usr/local/bundle/gems/rack-test-0.7.0/lib/rack/test.rb:249:in `process_request'
/usr/local/bundle/gems/rack-test-0.7.0/lib/rack/test.rb:68:in `post'
/usr/local/bundle/gems/capybara-3.39.2/lib/capybara/rack_test/browser.rb:80:in `process'
/usr/local/bundle/gems/capybara-3.39.2/lib/capybara/rack_test/browser.rb:55:in `process_and_follow_redirects'
/usr/local/bundle/gems/capybara-3.39.2/lib/capybara/rack_test/browser.rb:38:in `submit'
/usr/local/bundle/gems/capybara-3.39.2/lib/capybara/rack_test/form.rb:57:in `submit'
/usr/local/bundle/gems/capybara-3.39.2/lib/capybara/rack_test/node.rb:69:in `click'
/usr/local/bundle/gems/capybara-3.39.2/lib/capybara/rack_test/node.rb:132:in `call'
/usr/local/bundle/gems/capybara-3.39.2/lib/capybara/rack_test/node.rb:132:in `click'
/usr/local/bundle/gems/capybara-3.39.2/lib/capybara/node/element.rb:172:in `block in click'
/usr/local/bundle/gems/capybara-3.39.2/lib/capybara/node/element.rb:608:in `block in perform_click_action'
/usr/local/bundle/gems/capybara-3.39.2/lib/capybara/node/base.rb:84:in `synchronize'
/usr/local/bundle/gems/capybara-3.39.2/lib/capybara/node/element.rb:608:in `perform_click_action'
/usr/local/bundle/gems/capybara-3.39.2/lib/capybara/node/element.rb:171:in `click'
/usr/local/bundle/gems/capybara-3.39.2/lib/capybara/node/actions.rb:26:in `click_link_or_button'
/usr/local/bundle/gems/capybara-3.39.2/lib/capybara/session.rb:773:in `click_on'
/usr/local/bundle/gems/capybara-3.39.2/lib/capybara/dsl.rb:52:in `call'
/usr/local/bundle/gems/capybara-3.39.2/lib/capybara/dsl.rb:52:in `click_on'
./spec/features/accounts_spec.rb:48:in `block (3 levels) in <top (required)>'
./spec/features/accounts_spec.rb:24:in `block (3 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/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'