Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Mojolicious-Plugin-Authorization CPAN distribution.

Report information
The Basics
Id: 81732
Status: resolved
Priority: 0/
Queue: Mojolicious-Plugin-Authorization

People
Owner: Nobody in particular
Requestors: davido [...] cpan.org
Cc:
AdminCc:

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



Subject: M::P::Author fails 01-functional.t tests #9 and #15.
With Perl 5.16.2 and Mojolicious v3.64, Mojolicious::Plugin::Authorization v1.03 fails its test suite. The failures are tests #9 and #15. Here's a snippet from the sample run: davido@davido:~/repos/Mojolicious-Plugin-Authorization$ perl -Mblib t/01-functional.t 1..42 ok 1 - get / ok 2 - 200 OK ok 3 - exact match for content ok 4 - get /priv1 ok 5 - 200 OK ok 6 - exact match for content ok 7 - get /priv2 ok 8 - 200 OK not ok 9 - exact match for content # Failed test 'exact match for content' # at t/01-functional.t line 117. # got: 'Priv 2' # expected: 'fail' ok 10 - get /privilege1 ok 11 - 200 OK ok 12 - exact match for content ok 13 - get /privilege2 ok 14 - 200 OK not ok 15 - exact match for content # Failed test 'exact match for content' # at t/01-functional.t line 119. # got: 'Priv 2' # expected: 'fail' ok 16 - get /myrole ok 17 - 200 OK ok 18 - exact match for content -------- davido@davido:~/repos/Mojolicious-Plugin-Authorization$ perl -MMojolicious -E 'say Mojolicious->VERSION' 3.64 -------- davido@davido:~/repos/Mojolicious-Plugin-Authorization$ perl -Mblib -MMojolicious::Plugin::Authorization -E 'say Mojolicious::Plugin::Authorization->VERSION' 1.03 -------- Please let me know if you need additional details.
From: byterock [...] hotmail.com
Seems it is a fall though error. On eariler versions of MOJO this was not a problem now the latests version must of corrected somethin so now this error. I loaded a patch from Nic Sandfield that fixes the tests. On Wed Dec 05 18:55:38 2012, DAVIDO wrote: Show quoted text
> With Perl 5.16.2 and Mojolicious v3.64, > Mojolicious::Plugin::Authorization v1.03 fails its test suite. > > The failures are tests #9 and #15. Here's a snippet from the sample
run: Show quoted text
> > davido@davido:~/repos/Mojolicious-Plugin-Authorization$ perl -Mblib > t/01-functional.t > 1..42 > ok 1 - get / > ok 2 - 200 OK > ok 3 - exact match for content > ok 4 - get /priv1 > ok 5 - 200 OK > ok 6 - exact match for content > ok 7 - get /priv2 > ok 8 - 200 OK > not ok 9 - exact match for content > # Failed test 'exact match for content' > # at t/01-functional.t line 117. > # got: 'Priv 2' > # expected: 'fail' > ok 10 - get /privilege1 > ok 11 - 200 OK > ok 12 - exact match for content > ok 13 - get /privilege2 > ok 14 - 200 OK > not ok 15 - exact match for content > # Failed test 'exact match for content' > # at t/01-functional.t line 119. > # got: 'Priv 2' > # expected: 'fail' > ok 16 - get /myrole > ok 17 - 200 OK > ok 18 - exact match for content > > -------- > > davido@davido:~/repos/Mojolicious-Plugin-Authorization$ perl > -MMojolicious -E 'say Mojolicious->VERSION' > 3.64 > > -------- > > davido@davido:~/repos/Mojolicious-Plugin-Authorization$ perl -Mblib > -MMojolicious::Plugin::Authorization -E 'say > Mojolicious::Plugin::Authorization->VERSION' > 1.03 > > -------- > > Please let me know if you need additional details.
Patched checking and indexed on CPAN new version is 1.0301