diff options
Diffstat (limited to 't/01register.t')
-rw-r--r-- | t/01register.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/01register.t b/t/01register.t index d3ba6b4..ab358dd 100644 --- a/t/01register.t +++ b/t/01register.t @@ -52,7 +52,7 @@ my $tester = POE::Session->create(inline_states => { misconnect_error => sub { if(!$state++) { - ok 'Incorrect connection fires error'; + pass 'Incorrect connection fires error'; $_[KERNEL]->delay('misconnect_timeout'); $_[KERNEL]->post(pg2 => unregister => 'error'); $_[KERNEL]->post(pg2 => 'connect'); @@ -64,7 +64,7 @@ my $tester = POE::Session->create(inline_states => { misconnect_connect => sub { fail 'Incorrect connection fires error (connect)' }, misconnect_timeout => sub { fail 'Incorrect connection fires error (timeout)' }, misconnect_2nd => sub { - ok 'unregister'; + pass 'unregister'; $_[KERNEL]->post(pg2 => 'shutdown'); $_[KERNEL]->yield('check_lastshutdown'); }, |