From: Greg Sabino Mullane Date: Thu, 12 Jun 2014 21:49:51 +0000 (-0400) Subject: Quick stub to show port when testing. Always 5432 for now (with a custom socket dir) X-Git-Tag: 2.22.0~32 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=09d96f5c2e57142701510985450fa006aaa5c8be;p=check_postgres.git Quick stub to show port when testing. Always 5432 for now (with a custom socket dir) --- diff --git a/t/CP_Testing.pm b/t/CP_Testing.pm index db4dd852b..28ff60b3f 100644 --- a/t/CP_Testing.pm +++ b/t/CP_Testing.pm @@ -478,6 +478,11 @@ sub get_host { return $self->{shorthost} || $self->{dbhost}; } +sub get_port { + my $self = shift; + return 5432; +} + sub get_shorthost { my $self = shift; return $self->{shorthost};