diff options
author | Nick Lewis <nick@puppetlabs.com> | 2010-12-16 16:17:17 -0800 |
---|---|---|
committer | Nick Lewis <nick@puppetlabs.com> | 2010-12-16 16:23:10 -0800 |
commit | d516f6385e0ee044603c403ecc6f96606730f8f2 (patch) | |
tree | 5ca895fe8ce30b8a93c0c36461449a7b8eb418d7 /test | |
parent | 093c45f7bffb91b869daaf5c6f97383a90e70a18 (diff) | |
download | puppet-d516f6385e0ee044603c403ecc6f96606730f8f2.tar.gz puppet-d516f6385e0ee044603c403ecc6f96606730f8f2.tar.xz puppet-d516f6385e0ee044603c403ecc6f96606730f8f2.zip |
(#5493) Add report_format, puppet_version, and configuration_version to Reports
Current report formats are:
0: 0.25 reports and earlier
1: 0.26.1 - 0.26.4 reports
2: 0.26.5 and beyond
Paired-With: Jesse Wolfe
Diffstat (limited to 'test')
-rw-r--r-- | test/lib/puppettest/reporttesting.rb | 2 | ||||
-rwxr-xr-x | test/other/report.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/puppettest/reporttesting.rb b/test/lib/puppettest/reporttesting.rb index 448a6a9d8..54a2f6799 100644 --- a/test/lib/puppettest/reporttesting.rb +++ b/test/lib/puppettest/reporttesting.rb @@ -1,7 +1,7 @@ module PuppetTest::Reporttesting def fakereport # Create a bunch of log messages in an array. - report = Puppet::Transaction::Report.new + report = Puppet::Transaction::Report.new("apply") 3.times { |i| # We have to use warning so that the logs always happen diff --git a/test/other/report.rb b/test/other/report.rb index 8a909b41c..eacf1632b 100755 --- a/test/other/report.rb +++ b/test/other/report.rb @@ -68,7 +68,7 @@ class TestReports < Test::Unit::TestCase def test_store_report # Create a bunch of log messages in an array. - report = Puppet::Transaction::Report.new + report = Puppet::Transaction::Report.new("apply") # We have to reuse reporting here because of something going on in the # server/report.rb file |