X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fmodel_collectionofrepos.t;h=63589a7984d9461cc1eb4189ff86f417140e846d;hb=bff2058a8bafe28d936ccc486b382d0b68d7a1b1;hp=4736dd57f84ef98bcdd935a9174742a24fd3f54a;hpb=4d334b5359bb28a7b0781c44db9ebe710be22965;p=catagits%2FGitalist.git 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; };