Changeset 18858 for trunk/Nebulous/t
- Timestamp:
- Aug 1, 2008, 1:55:26 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/Nebulous/t/59_client_delete.t (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous/t/59_client_delete.t
r5667 r18858 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 59_client_delete.t,v 1. 1 2005-12-03 02:52:31jhoblitt Exp $5 # $Id: 59_client_delete.t,v 1.2 2008-08-01 23:55:26 jhoblitt Exp $ 6 6 7 7 use strict; … … 10 10 use Apache::Test qw( -withtestmore ); 11 11 12 plan tests => 7;12 plan tests => 9; 13 13 14 14 use lib qw( ./t ./lib ); … … 57 57 proxy => "http://$hostport/nebulous", 58 58 ); 59 $neb->create( "neb://node01/foo" ); 60 61 ok( $neb->delete( "neb://node02/foo" ), "delete object" ); 62 63 my $locations = $neb->find_instances( "foo" ); 64 65 is( $locations, undef, "no instances" ); 66 } 67 68 Test::Nebulous->setup; 69 70 { 71 my $neb = Nebulous::Client->new( 72 proxy => "http://$hostport/nebulous", 73 ); 59 74 60 75 is( $neb->delete( "foo" ), undef, "delete non-existant object" );
Note:
See TracChangeset
for help on using the changeset viewer.
