Actions
Bug #27347
closedPin audited gem to <4.9
Description
Looking into the issue I found out that audited changes is a hash with strings as keys, but the tests expect symbols as keys.
UsergroupTest::audit usergroup::roles.test_0002_should audit when a role is removed/de-assigned from a usergroup (from UsergroupTest__audit usergroup__roles) Error Message No audits found for usergroup-roles Stacktrace No audits found for usergroup-roles (Minitest::Assertion) /home/jenkins/workspace/foreman_salt-pull-request/database/postgresql/label/fast/ruby/2.6/foreman/test/models/usergroup_test.rb:364
Updated by The Foreman Bot over 5 years ago
- Status changed from New to Ready For Testing
- Assignee set to Adam Ruzicka
- Pull request https://github.com/theforeman/foreman/pull/6913 added
Updated by The Foreman Bot over 5 years ago
- Pull request https://github.com/theforeman/foreman/pull/6915 added
Updated by Adam Ruzicka over 5 years ago
Audited 4.9.0 was released on 18.7.2019. This release changed audited_changes from hash with indifferent access to hash, where keys are strings. This change made all tests which accessed parts of the hash using symbols as keys fail.
Updated by Anonymous over 5 years ago
- Blocks Tracker #24837: Rails 6.0 Tracker added
Updated by Tomer Brisker over 5 years ago
- Subject changed from User and UserGroup tests fail with no audits found to Pin audited gem to <4.9
- Fixed in Releases 1.21.4, 1.22.1 added
Updated by Tomer Brisker over 5 years ago
- Category changed from Tests to Packaging
Updated by Adam Ruzicka over 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset 2fc6163d17b2f668d8b983b8291b5b5e6d82772e.
Updated by Adam Ruzicka over 5 years ago
- Related to Refactor #27359: Update audited gem to 4.9.x added
Updated by Adam Ruzicka over 5 years ago
- Pull request deleted (
https://github.com/theforeman/foreman/pull/6913)
Updated by Anonymous over 5 years ago
- Blocks deleted (Tracker #24837: Rails 6.0 Tracker)
Actions