summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/90_bug_links.t9
1 files changed, 5 insertions, 4 deletions
diff --git a/t/90_bug_links.t b/t/90_bug_links.t
index e1f71db..1c209eb 100644
--- a/t/90_bug_links.t
+++ b/t/90_bug_links.t
@@ -1,16 +1,17 @@
-use Data::Dumper;
+use strict;
+use warnings;
use Net::Riak;
use Test::More;
BEGIN {
- unless ( $ENV{RELEASE_TESTING} ) {
+ unless ( $ENV{RIAK_REST_HOST} ) {
require Test::More;
Test::More::plan(
- skip_all => 'these tests are for release candidate testing' );
+ skip_all => 'RIAK_REST_HOST not set.. skipping' );
}
}
-ok my $client = Net::Riak->new(host => 'http://127.0.0.1:8098'), 'client created';
+ok my $client = Net::Riak->new(host => $ENV{RIAK_REST_HOST}), 'client created';
# set up a bucket containing two person/user records and store them
my $bucket_one = $client->bucket('ONE');