Project

General

Profile

Bug #16512

Updated by Dominic Cleal over 7 years ago

Since #16491, #3827, 18 tests have started failing: 

 <pre> 
   1) Error: 
 SettingsControllerTest#test_0005_settings shouldnt include ones about locations when locations are disabled: 
 ActionView::Template::Error: undefined method `each' for nil:NilClass 
     app/views/settings/index.html.erb:4:in `_app_views_settings_index_html_erb__462412887402587618_117671740' 
     app/controllers/concerns/application_shared.rb:14:in `set_timezone' 
     app/models/concerns/foreman/thread_session.rb:32:in `clear_thread' 
     test/functional/settings_controller_test.rb:49:in `block in <class:SettingsControllerTest>' 
 </pre> 

 * Api::V1::SettingsControllerTest.test_0004_should parse string values 
 * Api::V1::SettingsControllerTest.test_0002_should show individual record 
 * Api::V1::SettingsControllerTest.test_0003_should update setting 
 * Api::V2::SettingsControllerTest.test_0005_settings shouldnt include ones about organizations when organizations are disabled 
 * Api::V2::SettingsControllerTest.test_0003_should not update setting 
 * Api::V2::SettingsControllerTest.test_0006_settings shouldnt include ones about locations when locations are disabled 
 * Api::V2::SettingsControllerTest.test_0001_should get index 
 * Api::V2::SettingsControllerTest.test_0004_should parse string values 
 * Api::V2::SettingsControllerTest.test_0002_should show individual record 
 * Api::V2::UsersControllerTest.test_0005_shows default taxonomies on show response 
 * Api::V2::UsersControllerTest.test_0002_should handle taxonomy with wrong id 
 * LocationsControllerTest.test_0008_should display a warning if current location has been deleted 
 * OrganizationsControllerTest.test_0009_should display a warning if current organization has been deleted 
 * SettingsControllerTest.test_index 
 * SettingsControllerTest.test_0002_does not render an old sti type setting 
 * SettingsControllerTest.test_0005_settings shouldnt include ones about locations when locations are disabled 
 * SettingsControllerTest.test_0004_settings shouldnt include ones about organizations when organizations are disabled 
 * SettingsControllerTest.test_0001_can render a new sti type setting 

Back