summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Sabino Mullane2014-06-12 21:49:51 +0000
committerGreg Sabino Mullane2014-06-12 21:49:51 +0000
commit09d96f5c2e57142701510985450fa006aaa5c8be (patch)
tree96d039fedebaaf1ec251e9dd638851fd4ddda92e
parent6b765c839eaf80499f68d412a897f61f11db9bfc (diff)
Quick stub to show port when testing. Always 5432 for now (with a custom socket dir)
-rw-r--r--t/CP_Testing.pm5
1 files changed, 5 insertions, 0 deletions
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};