On 2019-03-16 07:10:55, SREZIC wrote:
Show quoted text> On 2014-01-25 13:16:23, ANDK wrote:
>
> Also undeclared: Catalyst::View::JSON
Also undeclared: Catalyst::Component::InstancePerContext
Without this module the test suite fails like this:
...
You can only consume roles, Catalyst::Component::InstancePerContext is not a Moose role at /opt/perl-5.28.2-RC1/lib/site_perl/5.28.2/x86_64-linux/Moose/Exporter.pm line 419
Moose::with('Catalyst::Component::InstancePerContext') called at t/lib/MyApp/Controller/FF.pm line 14
require MyApp/Controller/FF.pm at /opt/perl-5.28.2-RC1/lib/site_perl/5.28.2/Catalyst/Utils.pm line 309
eval {...} at /opt/perl-5.28.2-RC1/lib/site_perl/5.28.2/Catalyst/Utils.pm line 309
Catalyst::Utils::ensure_class_loaded('MyApp::Controller::FF', 'HASH(0x413d3f0)') called at /opt/perl-5.28.2-RC1/lib/site_perl/5.28.2/Catalyst.pm line 3034
Catalyst::setup_components('MyApp') called at /opt/perl-5.28.2-RC1/lib/site_perl/5.28.2/Catalyst.pm line 1422
Catalyst::setup('MyApp') called at t/lib/MyApp.pm line 23
require MyApp.pm at /opt/perl-5.28.2-RC1/lib/site_perl/5.28.2/Module/Runtime.pm line 314
Module::Runtime::require_module('MyApp') called at /opt/perl-5.28.2-RC1/lib/site_perl/5.28.2/Class/Load.pm line 174
Class::Load::try {...} at /opt/perl-5.28.2-RC1/lib/site_perl/5.28.2/Try/Tiny.pm line 98
eval {...} at /opt/perl-5.28.2-RC1/lib/site_perl/5.28.2/Try/Tiny.pm line 93
Try::Tiny::try('CODE(0x1623090)', 'Try::Tiny::Catch=REF(0x3040478)') called at /opt/perl-5.28.2-RC1/lib/site_perl/5.28.2/Class/Load.pm line 180
Class::Load::try_load_class('MyApp', undef) called at /opt/perl-5.28.2-RC1/lib/site_perl/5.28.2/Class/Load.pm line 35
Class::Load::load_class('MyApp') called at /opt/perl-5.28.2-RC1/lib/site_perl/5.28.2/Test/WWW/Mechanize/Catalyst.pm line 245
Test::WWW::Mechanize::Catalyst::import('Test::WWW::Mechanize::Catalyst', 'MyApp') called at t/api.t line 11
main::BEGIN at t/lib/MyApp/Controller/FF.pm line 0
eval {...} at t/lib/MyApp/Controller/FF.pm line 0
Compilation failed in require at /opt/perl-5.28.2-RC1/lib/site_perl/5.28.2/Catalyst/Utils.pm line 309.
Compilation failed in require at /opt/perl-5.28.2-RC1/lib/site_perl/5.28.2/Test/WWW/Mechanize/Catalyst.pm line 245.
Test::WWW::Mechanize::Catalyst::import("Test::WWW::Mechanize::Catalyst", "MyApp") called at t/api.t line 11
main::BEGIN() called at t/api.t line 11
eval {...} called at t/api.t line 11
BEGIN failed--compilation aborted at t/api.t line 11.
t/api.t .......................
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
... (etc) ...