From 6e4bc322f63b77fad6f79dcafd3b9e72e55ff6e8 Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Wed, 7 Apr 2010 11:42:12 -0400 Subject: [PATCH] Support new method. --- t/02_custom_query.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'} ); -- 2.30.2