From: Dan Brook Date: Sun, 18 Mar 2012 21:51:30 +0000 (+0000) Subject: Cope with changes in Catalyst 5.90007 in t/model_collectionofrepos.t. X-Git-Tag: 0.004001~10 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FGitalist.git;a=commitdiff_plain;h=bff2058a8bafe28d936ccc486b382d0b68d7a1b1 Cope with changes in Catalyst 5.90007 in t/model_collectionofrepos.t. --- diff --git a/t/model_collectionofrepos.t b/t/model_collectionofrepos.t index 4736dd5..63589a7 100644 --- a/t/model_collectionofrepos.t +++ b/t/model_collectionofrepos.t @@ -53,12 +53,11 @@ our $ctx_gen = sub { my ($cb, %args) = @_; my $ctx = $mock_ctx_meta->new_object( response => Catalyst::Response->new, - request => Catalyst::Request->new(uri => URI->new("http://$host/")), + # Too lazy to mock up Catalyst::Log + request => Catalyst::Request->new(uri => URI->new("http://$host/"), _log => 1), stash => {}, %args ); - $ctx->response->_context($ctx); - $ctx->request->_context($ctx); $cb->($ctx) if $cb; return $ctx; };