IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 6, 2008, 12:12:07 PM (18 years ago)
Author:
jhoblitt
Message:

allow volume name arguments to be undef

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/t/07_server_find_instances.t

    r17072 r17539  
    33# Copryight (C) 2004-2005  Joshua Hoblitt
    44#
    5 # $Id: 07_server_find_instances.t,v 1.10 2008-03-20 21:10:14 jhoblitt Exp $
     5# $Id: 07_server_find_instances.t,v 1.11 2008-05-06 22:10:58 jhoblitt Exp $
    66
    77use strict;
    88use warnings FATAL => qw( all );
    99
    10 use Test::More tests => 15;
     10use Test::More tests => 17;
    1111
    1212use lib qw( ./t ./lib );
     
    5555
    5656    my $locations = $neb->find_instances('foo', 'node01');
     57
     58    uri_scheme_ok($locations->[0], 'file');
     59    is($uri, $locations->[0], "URIs match");
     60}
     61
     62Test::Nebulous->setup;
     63
     64{
     65    # key, volume
     66    my $uri = $neb->create_object('foo', 'node01');
     67
     68    my $locations = $neb->find_instances('foo', undef);
    5769
    5870    uri_scheme_ok($locations->[0], 'file');
Note: See TracChangeset for help on using the changeset viewer.