[Catalyst-dev] Test::MockObject::Extends 1.07 breaks some plugin tests

Yuval Kogman nothingmuch at woobling.org
Tue Oct 10 18:19:30 CEST 2006


I fixed the session plugin too. I'll release both later tonight.

Thanks =)

On Tue, Oct 10, 2006 at 15:26:20 +0100, Ton Voon wrote:
> Hi!
> 
> Just a heads up that anyone trying to install some Catalyst plugins from CPAN with the new Test::MockObject will have failures with make test.
> 
> I'm working on an internal minicpan to ease our installation of Catalyst and found that there is a new version of Test::MockObject::Extends which will die if a method is unhandled: 
> http://search.cpan.org/src/CHROMATIC/Test-MockObject-1.07/Changes
> 
> Currently, this breaks the tests for Catalyst::Plugin::Authentication::Credential::HTTP and Catalyst::Plugin::Session. I've applied a fix to the tests for C::P::A::C::HTTP in SVN by handling 
> $c->debug, but I can see that the tests fail for C::P::Session with:
> 
> t/03_flash....................ok 1/7Undefined method delete_session_data at Catalyst::Plugin::Session /home/tonvoon/.cpan/build/Catalyst-Plugin-Session-0.12/blib/lib/Catalyst/Plugin/Session.pm 165
> 
> However, I don't understand this code well enough to know if this needs more attention.
> 
> Ton
> 
> http://www.altinity.com
> T: +44 (0)870 787 9243
> F: +44 (0)845 280 1725
> Skype: tonvoon
> 
> 

> _______________________________________________
> Catalyst-dev mailing list
> Catalyst-dev at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst-dev


-- 
  Yuval Kogman <nothingmuch at woobling.org>
http://nothingmuch.woobling.org  0xEBD27418

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.rawmode.org/pipermail/catalyst-dev/attachments/20061010/e0ecf3a2/attachment-0001.pgp 


More information about the Catalyst-dev mailing list