X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2FObject-Remote.git;a=blobdiff_plain;f=t%2Fbasic.t;h=329f606cfeaf0b79638e7d08f0626d7c2f941f80;hp=0289dc0708d660245199b4af6ac82a0446176c98;hb=710f1c32ba19676990ecda960c9eff96c4002328;hpb=4c17fea55a562db315a029e6bd67b7dbb028a8e9 diff --git a/t/basic.t b/t/basic.t index 0289dc0..329f606 100644 --- a/t/basic.t +++ b/t/basic.t @@ -2,6 +2,8 @@ use strictures 1; use Test::More; use Sys::Hostname qw(hostname); +$ENV{OBJECT_REMOTE_TEST_LOGGER} = 1; + use Object::Remote; $ENV{PERL5LIB} = join( @@ -29,7 +31,7 @@ is($remote->call_callback(27, sub { $x++ }), 27, "Callback ok"); is($x, 1, "Callback called callback"); is( - $connection->get_remote_sub('Sys::Hostname::hostname')->(), + Sys::Hostname->can::on($connection, 'hostname')->(), hostname(), 'Remote sub call ok' );