r15710@andreas-marienborgs-computer: andreas | 2007-07-18 13:20:54 +0200 v0.03
Andreas Marienborg [Wed, 18 Jul 2007 12:00:40 +0000 (12:00 +0000)]
 Fix a broken test

Changes
lib/Catalyst/Plugin/Authentication/Credential/HTTP/Proxy.pm
t/basic.t

diff --git a/Changes b/Changes
index 50223ae..7fdab99 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,3 +1,6 @@
+0.03    2007-07-18
+        - Fix broken test
+
 0.02    2007-04-26
         - switch to Module::Install
 
index fc2bb0b..e7afe45 100644 (file)
@@ -10,7 +10,7 @@ use Catalyst       ();
 use Catalyst::Plugin::Authentication::Credential::HTTP::User;
 use Carp qw/croak/;
 
-our $VERSION = "0.02";
+our $VERSION = "0.03";
 
 sub authenticate_http_proxy {
     my $c = shift;
index dd1b277..f0c70bb 100644 (file)
--- a/t/basic.t
+++ b/t/basic.t
@@ -55,6 +55,7 @@ $c->set_false("debug");
 
 my $authenticated;
 $c->mock( set_authenticated => sub { $authenticated = $_[1] } );
+$c->mock( logout => sub { undef $authenticated } );
 
 can_ok( $m, "setup" );