don't timestamp lines which allready have timestamp at beginning
[cloudstore.git] / t / API.t
diff --git a/t/API.t b/t/API.t
index 2083c28..74a2b55 100755 (executable)
--- a/t/API.t
+++ b/t/API.t
@@ -2,17 +2,16 @@
 use strict;
 use warnings;
 
-use Test::More tests => 25;
+use Test::More tests => 26;
 use Data::Dump qw(dump);
 
 use lib 'lib';
 
 use_ok 'CloudStore::API';
 
-$ENV{PORT}=6500;
-$ENV{SLICE}='/tmp/';
+ok my $o = CloudStore::API->new('s1'), 'new';
 
-ok my $o = CloudStore::API->new, 'new';
+ok exists $o->{SLICE}, 'SLICE';
 
 cmp_ok $o->create_user('md5@example.com','md5sum',0), '==', 2000, 'create_user md5';