From: Greg Sabino Mullane Date: Wed, 7 Apr 2010 15:42:12 +0000 (-0400) Subject: Support new method. X-Git-Tag: 2.15.1~48^2~3 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=30e2e7bfadafac842c722b11b8cf6965d8c86c07;p=check_postgres.git Support new method. --- diff --git a/t/02_custom_query.t b/t/02_custom_query.t index 6cf20afb7..ac30c4d28 100644 --- a/t/02_custom_query.t +++ b/t/02_custom_query.t @@ -12,7 +12,7 @@ use CP_Testing; use vars qw/$dbh $result $t $host $dbname/; -my $good_query = q{SELECT count(*) FROM pg_database}; +my $good_query = q{SELECT count(*) AS result FROM pg_database}; my $bad_query = q{THIS IS NOT A QUERY}; my $cp = CP_Testing->new( {default_action => 'custom_query'} );