[Bug 18526] New: Test t/Token.t fails on master
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18526 Bug ID: 18526 Summary: Test t/Token.t fails on master Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Test Suite Assignee: chris@bigballofwax.co.nz Reporter: mtj@kohaaloha.com QA Contact: gmcharlt@gmail.com this seems to fail on 16.11.x and 16.05.x too can anyone else verify this please -------------------- $ prove t/Token.t 1..10 ok 1 - Generate without parameters ok 2 - Token :|%}VN^o\GFJ~fz~U.L7 has 20 chars Use of uninitialized value $csrftoken in concatenation (.) or string at t/Token.t line 38. ok 3 - Token should not be empty ok 4 - Check without any parameters not ok 5 - CSRF token verified # Failed test 'CSRF token verified' # at t/Token.t line 44. # got: undef # expected: '1' ok 6 - This token is no CSRF token not ok 7 - CSRF token still valid within one second # Failed test 'CSRF token still valid within one second' # at t/Token.t line 56. # got: undef # expected: '1' ok 8 - CSRF token expired after one second # Subtest: Same id (cookie CGISESSID) with an other logged in user 1..2 not ok 1 - CSRF token verified # Failed test 'CSRF token verified' # at t/Token.t line 69. # got: undef # expected: '1' not ok 2 - CSRF token is not verified if another logged in user is using the same id # Failed test 'CSRF token is not verified if another logged in user is using the same id' # at t/Token.t line 74. # got: undef # expected: '' # Looks like you failed 2 tests of 2. not ok 9 - Same id (cookie CGISESSID) with an other logged in user # Failed test 'Same id (cookie CGISESSID) with an other logged in user' # at t/Token.t line 75. # Subtest: Same logged in user with another session (cookie CGISESSID) 1..2 not ok 1 - CSRF token verified # Failed test 'CSRF token verified' # at t/Token.t line 84. # got: undef # expected: '1' not ok 2 - CSRF token is not verified if another session is used # Failed test 'CSRF token is not verified if another session is used' # at t/Token.t line 90. # got: undef # expected: '' # Looks like you failed 2 tests of 2. not ok 10 - Same logged in user with another session (cookie CGISESSID) # Failed test 'Same logged in user with another session (cookie CGISESSID)' # at t/Token.t line 91. # Looks like you failed 4 tests of 10. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18526 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |m.de.rooy@rijksmuseum.nl --- Comment #1 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Title of this report is misleading. The test does not fail on master (at least not with me). -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18526 Mason James <mtj@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #2 from Mason James <mtj@kohaaloha.com> --- (In reply to Marcel de Rooy from comment #1)
Title of this report is misleading. The test does not fail on master (at least not with me).
Oops, looks like I had my PERL5LIB set incorrectly here.. I've confirmed the bug is invalid, thanks for testing Marcel! -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org