Subject: | Test failures |
Some of my smokers show the following test failures:
...
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/cpansand/.cpan/build/2016110515/Dancer2-0.204001-9BcpbA/blib/lib/Dancer2/Core/Hook.pm line 33.
# Failed test 'Not logged user call is redirected'
# at t/001_login.t line 29.
# got: '200'
# expected: '302'
# Failed test 'Not logged user call is redirected on login page'
# at t/001_login.t line 34.
# got: undef
# expected: 'http://localhost/admin/login'
Plugin DSL method 'dancer_app' is deprecated. Use '$self->app' instead'.
at /home/cpansand/.cpan/build/2016110515/Dancer2-0.204001-9BcpbA/blib/lib/Dancer2/Core/Hook.pm line 33.
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/cpansand/.cpan/build/2016110515/Dancer2-0.204001-9BcpbA/blib/lib/Dancer2/Core/Hook.pm line 33.
Plugin DSL method 'dancer_app' is deprecated. Use '$self->app' instead'.
at /home/cpansand/.cpan/build/2016110515/Dancer2-0.204001-9BcpbA/blib/lib/Dancer2/Core/Hook.pm line 33.
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/cpansand/.cpan/build/2016110515/Dancer2-0.204001-9BcpbA/blib/lib/Dancer2/Core/Hook.pm line 33.
# Looks like you failed 2 tests of 6.
t/001_login.t ........
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/6 subtests
... (etc.) ...
Statistical analysis is not quite clear, but at least on my systems there are no pass reports if Dancer2::Plugin::DBIC 0.0013 is installed (theta=-1):
****************************************************************
Regression 'mod:Dancer2::Plugin::DBIC'
****************************************************************
Name Theta StdErr T-stat
[0='const'] 1.0000 0.1340 7.46
[1='eq_0.0008'] -0.6000 0.1695 -3.54
[2='eq_0.0009'] 0.0000 0.2119 0.00
[3='eq_0.0010'] -0.1429 0.1433 -1.00
[4='eq_0.0011'] 0.0000 0.1547 0.00
[5='eq_0.0012'] 0.0000 0.1695 0.00
[6='eq_0.0013'] -1.0000 0.1402 -7.14
R^2= 0.804, N= 77, K= 7
****************************************************************