From 09d96f5c2e57142701510985450fa006aaa5c8be Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Thu, 12 Jun 2014 17:49:51 -0400 Subject: [PATCH] Quick stub to show port when testing. Always 5432 for now (with a custom socket dir) --- t/CP_Testing.pm | 5 +++++ 1 file changed, 5 insertions(+) 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}; -- 2.30.2