Project

General

Profile

Bug #27301

transient failure in UsergroupTest

Added by Tomer Brisker 12 months ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Category:
Tests
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:

Description

NoMethodError: undefined method `audited_changes' for nil:NilClass
test/models/usergroup_test.rb:337:in `block (3 levels) in <class:UsergroupTest>' (NoMethodError)
/home/jenkins/workspace/foreman-develop-source-release/test/models/usergroup_test.rb:337

NoMethodError: undefined method `audited_changes' for nil:NilClass
test/models/usergroup_test.rb:327:in `block (3 levels) in <class:UsergroupTest>' (NoMethodError)
/home/jenkins/workspace/foreman-develop-source-release/test/models/usergroup_test.rb:327

NoMethodError: undefined method `audited_changes' for nil:NilClass
test/models/usergroup_test.rb:353:in `block (3 levels) in <class:UsergroupTest>' (NoMethodError)
/home/jenkins/workspace/foreman-develop-source-release/test/models/usergroup_test.rb:353

NoMethodError: undefined method `audited_changes' for nil:NilClass
test/models/usergroup_test.rb:363:in `block (3 levels) in <class:UsergroupTest>' (NoMethodError)
/home/jenkins/workspace/foreman-develop-source-release/test/models/usergroup_test.rb:363

NoMethodError: undefined method `audited_changes' for nil:NilClass
test/models/usergroup_test.rb:379:in `block (3 levels) in <class:UsergroupTest>' (NoMethodError)
/home/jenkins/workspace/foreman-develop-source-release/test/models/usergroup_test.rb:379

NoMethodError: undefined method `audited_changes' for nil:NilClass
test/models/usergroup_test.rb:389:in `block (3 levels) in <class:UsergroupTest>' (NoMethodError)
/home/jenkins/workspace/foreman-develop-source-release/test/models/usergroup_test.rb:389

Associated revisions

Revision 858ed227 (diff)
Added by Kavita Gaikwad 10 months ago

Fixes #27301 - fix usergroup tests related to audits

Revision f50c4459 (diff)
Added by Kavita Gaikwad 9 months ago

Refs #27301 - instead setup call let for usergroup audit tests

History

#1 Updated by Kavita Gaikwad 11 months ago

  • Assignee set to Kavita Gaikwad

#2 Updated by The Foreman Bot 10 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7027 added

#3 Updated by The Foreman Bot 10 months ago

  • Fixed in Releases 1.24.0 added

#4 Updated by Kavita Gaikwad 10 months ago

  • Status changed from Ready For Testing to Closed

#5 Updated by The Foreman Bot 9 months ago

  • Pull request https://github.com/theforeman/foreman/pull/7107 added

Also available in: Atom PDF