Index: trunk/Nebulous/t/51_client_create.t
===================================================================
--- trunk/Nebulous/t/51_client_create.t	(revision 12960)
+++ trunk/Nebulous/t/51_client_create.t	(revision 13092)
@@ -3,5 +3,5 @@
 # Copryight (C) 2004-2005  Joshua Hoblitt
 #
-# $Id: 51_client_create.t,v 1.2 2007-04-23 20:42:29 jhoblitt Exp $
+# $Id: 51_client_create.t,v 1.3 2007-05-01 02:52:04 jhoblitt Exp $
 
 use strict;
@@ -10,5 +10,5 @@
 use Apache::Test qw( -withtestmore );
 
-plan tests => 11;
+plan tests => 7;
 
 use lib qw( ./t ./lib );
@@ -40,40 +40,10 @@
 
 {
-    # key, class
+    # key, volume
     my $neb = Nebulous::Client->new(
         proxy => "http://$hostport/nebulous",
     );
 
-    my $uri = $neb->create("foo", 0);
-
-    my ($scheme, $auth, $path, $query, $frag) = uri_split($uri);
-    ok(-e $path, "good filename");
-    uri_scheme_ok($uri, 'file');
-}
-
-Test::Nebulous->setup;
-
-{
-    # key, class, volume
-    my $neb = Nebulous::Client->new(
-        proxy => "http://$hostport/nebulous",
-    );
-
-    my $uri = $neb->create("foo", 0, "node01");
-
-    my ($scheme, $auth, $path, $query, $frag) = uri_split($uri);
-    ok(-e $path, "good filename");
-    uri_scheme_ok($uri, 'file');
-}
-
-Test::Nebulous->setup;
-
-{
-    # key, class, volume, comment
-    my $neb = Nebulous::Client->new(
-        proxy => "http://$hostport/nebulous",
-    );
-
-    my $uri = $neb->create("foo", 0, "node01", "this is foo");
+    my $uri = $neb->create("foo", "node01");
 
     my ($scheme, $auth, $path, $query, $frag) = uri_split($uri);
@@ -102,5 +72,5 @@
     $neb->create();
 };
-like($@, qr/2 - 4 were expected/, "no params");
+like($@, qr/1 - 2 were expected/, "no params");
 
 Test::Nebulous->setup;
@@ -111,7 +81,7 @@
     );
 
-    $neb->create(1, 2, 3, 4, 5);
+    $neb->create(1, 2, 3);
 };
-like($@, qr/2 - 4 were expected/, "too many params");
+like($@, qr/1 - 2 were expected/, "too many params");
 
 Test::Nebulous->cleanup;
