Bug #23108
closedhammer throughs error on running `rake test`
Description
While running the command `rake test` an error is encountered :
Coverage report generated for MiniTest to /home/vagrant/coverage. 5698 / 13218 LOC (43.11%) covered.
/home/vagrant/hammer-cli-foreman/lib/hammer_cli_foreman/logger.rb:2:in `<module:HammerCLIForeman>': undefined method `add_data_filter' for Logging::LogEvent:Class (NoMethodError)
from /home/vagrant/hammer-cli-foreman/lib/hammer_cli_foreman/logger.rb:1:in `<top (required)>'
from /home/vagrant/hammer-cli-foreman/lib/hammer_cli_foreman.rb:22:in `require'
from /home/vagrant/hammer-cli-foreman/lib/hammer_cli_foreman.rb:22:in `<module:HammerCLIForeman>'
from /home/vagrant/hammer-cli-foreman/lib/hammer_cli_foreman.rb:5:in `<top (required)>'
from /home/vagrant/hammer-cli-foreman/test/test_helper.rb:27:in `require'
from /home/vagrant/hammer-cli-foreman/test/test_helper.rb:27:in `<top (required)>'
from /home/vagrant/hammer-cli-foreman/test/functional/test_helper.rb:1:in `require'
from /home/vagrant/hammer-cli-foreman/test/functional/test_helper.rb:1:in `<top (required)>'
from /home/vagrant/hammer-cli-foreman/test/functional/commands/list_test.rb:1:in `require'
from /home/vagrant/hammer-cli-foreman/test/functional/commands/list_test.rb:1:in `<top (required)>'
from /home/vagrant/.gem/ruby/gems/rake-10.1.1/lib/rake/rake_test_loader.rb:15:in `require'
from /home/vagrant/.gem/ruby/gems/rake-10.1.1/lib/rake/rake_test_loader.rb:15:in `block in <main>'
from /home/vagrant/.gem/ruby/gems/rake-10.1.1/lib/rake/rake_test_loader.rb:4:in `select'
from /home/vagrant/.gem/ruby/gems/rake-10.1.1/lib/rake/rake_test_loader.rb:4:in `<main>'
rake aborted!