Skip Menu |

This queue is for tickets about the Catalyst-Plugin-Browser CPAN distribution.

Report information
The Basics
Id: 123463
Status: new
Priority: 0/
Queue: Catalyst-Plugin-Browser

People
Owner: Nobody in particular
Requestors: me [...] eboxr.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: t/basic.t broken with perl 5.24 and later
As shown by the test matrix http://matrix.cpantesters.org/?dist=Catalyst-Plugin-Browser+0.08 since perl 5.24.0 the basic test is failing Output from '/usr/bin/make test': PERL_DL_NONLAZY=1 "/opt/perl-5.24.1/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01use.t ................. ok [error] Caught exception in TestApp::Controller::Root->index "Can't locate object method "browser" via package "Catalyst::Request" at /home/cpansand/.cpan/build/2017080400/Catalyst-Plugin-Browser-0.08-1XbQqh/t/lib/TestApp/Controller/Root.pm line 12." # Failed test 'undef isa 'HTTP::BrowserDetect'' # at t/basic.t line 11. # undef isn't defined # Looks like you failed 1 test of 2. t/basic.t .................
module is deprecated... so error is normal and expected This module should no longer be used in new applications. Catalyst::TraitFor::Request::BrowserDetect is the replacement. On Tue Oct 31 11:38:49 2017, atoomic wrote: Show quoted text
> As shown by the test matrix > http://matrix.cpantesters.org/?dist=Catalyst-Plugin-Browser+0.08 > since perl 5.24.0 the basic test is failing > > Output from '/usr/bin/make test': > > PERL_DL_NONLAZY=1 "/opt/perl-5.24.1/bin/perl" "- > MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef > *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" > t/*.t > t/01use.t ................. ok > [error] Caught exception in TestApp::Controller::Root->index "Can't > locate object method "browser" via package "Catalyst::Request" at > /home/cpansand/.cpan/build/2017080400/Catalyst-Plugin-Browser-0.08- > 1XbQqh/t/lib/TestApp/Controller/Root.pm line 12." > > # Failed test 'undef isa 'HTTP::BrowserDetect'' > # at t/basic.t line 11. > # undef isn't defined > # Looks like you failed 1 test of 2. > t/basic.t .................