Quick stub to show port when testing. Always 5432 for now (with a custom socket dir)
authorGreg Sabino Mullane <[email protected]>
Thu, 12 Jun 2014 21:49:51 +0000 (17:49 -0400)
committerGreg Sabino Mullane <[email protected]>
Thu, 12 Jun 2014 21:49:51 +0000 (17:49 -0400)
t/CP_Testing.pm

index db4dd852bd2b4f4d3ccc19043333202da72f609a..28ff60b3f6e08f9c6bb096b3cceacebc2510a8cb 100644 (file)
@@ -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};