extract MD5sum handling using TokyoCabinet
[cloudstore.git] / t / API.t
diff --git a/t/API.t b/t/API.t
index 2083c28..7a22ef8 100755 (executable)
--- a/t/API.t
+++ b/t/API.t
@@ -9,10 +9,7 @@ use lib 'lib';
 
 use_ok 'CloudStore::API';
 
-$ENV{PORT}=6500;
-$ENV{SLICE}='/tmp/';
-
-ok my $o = CloudStore::API->new, 'new';
+ok my $o = CloudStore::API->new('s1'), 'new';
 
 cmp_ok $o->create_user('md5@example.com','md5sum',0), '==', 2000, 'create_user md5';