Revision edd5310f
Added by Dominic Cleal about 7 years ago
- added
- modified
- copied
- renamed
- deleted
- bundler.d
- test
- active_support_test_case_helper.rb (diff)
- controllers
- factories
- fixtures
- integration_test_helper.rb (diff)
- models
- compute_resources
- host_test.rb (diff)
- hostgroup_test.rb (diff)
- medium_test.rb (diff)
- nic_test.rb (diff)
- operatingsystem_test.rb (diff)
- orchestration
- orchestration_test.rb (diff)
- provisioning_template_test.rb (diff)
- ptable_test.rb (diff)
- setting_test.rb (diff)
- taxonomy_test.rb (diff)
- user_test.rb (diff)
- notifications_test_helper.rb
- test_helper.rb (diff)
- unit
fixes #19131 - upgrade minitest to latest 5.x
- override minitest's `_` expectation method with the gettext method
- rename `location` let helper, conflicted with a minitest method name
- fix `assert_equal nil, [..]` deprecation warnings, prefer `assert nil`
Contains fixes for tests that leak data or behavioral changes between
tests, as the ordering of test cases is now randomised:
- remove Host/Nic class modifications in orchestration concern test
- move NotificationBlueprint seeding into test transaction, preventing
DB truncation in integration tests from removing the records
- ensure DBCleaner.start is called when in transaction mode to prevent
records leaking out of integration tests
- sort records for reliable comparisons in TaxonomyTest
- move IPs of BMC NIC factory objects to 1.0.0.0/8 to avoid duplicates
- remove duplicate SettingTest cache clear, missing rescue