[icinga-checkins] icinga.org: icinga-core/test/core: Fix number of tests in 622extinfo-local. t

git at icinga.org git at icinga.org
Tue Apr 3 09:16:14 CEST 2012


Module: icinga-core
Branch: test/core
Commit: 154ff7e8b121ee8c4e453d4bd7f10b3bc0472094
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=154ff7e8b121ee8c4e453d4bd7f10b3bc0472094

Author: Alexander Wirt <formorer at debian.org>
Date:   Mon Feb 27 20:11:24 2012 +0100

Fix number of tests in 622extinfo-local.t

---

 t/622extinfo-local.t |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/t/622extinfo-local.t b/t/622extinfo-local.t
index e6da7bf..13f91d5 100644
--- a/t/622extinfo-local.t
+++ b/t/622extinfo-local.t
@@ -7,7 +7,7 @@ use strict;
 use Test::Most;
 use Icinga::Test qw ( run_cgi get_body );
 
-my $tests = 2;
+my $tests = 4;
 
 my $output = run_cgi('etc/cgi.cfg', 'GET', '', 'extinfo.cgi');
 like( $output, "/Process Information/", "extinfo.cgi without params show the process information" );
@@ -21,7 +21,6 @@ SKIP: {
     skip "Test::JSON not installed", 2 if $@;
 
     use Test::JSON;
-    $tests += 2;
     $output = run_cgi('etc/cgi.cfg', 'GET', 'jsonoutput', 'extinfo.cgi');
 
     is_valid_json(get_body($output), 'json output should be well formed');





More information about the icinga-checkins mailing list