X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fnagios-checkmkagent.t;h=77a7412c6e9dc81edaf8652bc41dbff02bef5d84;hb=d464e2cd0c2fd9973a88e3016e393d800a1708b3;hp=2fee140264cd588edb38a56f024548a715bc2fd0;hpb=7b3254fd50d487e5e2551f9e2ed695910bf070e2;p=scpubgit%2FSystem-Introspector.git diff --git a/t/nagios-checkmkagent.t b/t/nagios-checkmkagent.t index 2fee140..77a7412 100644 --- a/t/nagios-checkmkagent.t +++ b/t/nagios-checkmkagent.t @@ -1,10 +1,10 @@ use strictures 1; use Test::More; -use System::Introspector::Nagios::CheckMkAgent; +use System::Introspector::Probe::Nagios::CheckMkAgent; no warnings 'redefine'; -*System::Introspector::Nagios::CheckMkAgent::_get_check_mk_agent_output = sub { +*System::Introspector::Probe::Nagios::CheckMkAgent::_get_check_mk_agent_output = sub { return map "$_\n", '<<>>', 'bar', @@ -14,7 +14,7 @@ no warnings 'redefine'; 'qux'; }; -my $probe = System::Introspector::Nagios::CheckMkAgent->new; +my $probe = System::Introspector::Probe::Nagios::CheckMkAgent->new; my $data = $probe->gather; is_deeply $data,