[Koha-bugs] [Bug 20340] Ability to use authentication plugin

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 5 07:17:37 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20340

--- Comment #64 from M. Tompsett <mtompset at hotmail.com> ---
# Subtest: no_set_userenv parameter tests
    1..13
    ok 1 - checkpw returns true
    ok 2 - Userenv should be undef as required
    ok 3 - Userenv gives correct branch
    ok 4 - checkpw returns true
    ok 5 - Userenv branch is preserved if no_set_userenv is true
    ok 6 - checkpw still returns true
    not ok 7 - Userenv branch is overwritten if no_set_userenv is false

    #   Failed test 'Userenv branch is overwritten if no_set_userenv is false'
    #   at t/db_dependent/Auth.t line 143.
    #          got: undef
    #     expected: anything else
    ok 8 - With TestAuth plugin, checkpw returns 0
    ok 9 - With TestAuth plugin, checkpw returns empty cardnumber
    ok 10 - With TestAuth plugin, checkpw returns empty userid
    not ok 11 - With TestAuth plugin, checkpw returns 1
    not ok 12 - With TestAuth plugin, checkpw returns test cardnumber

    #   Failed test 'With TestAuth plugin, checkpw returns 1'
    #   at t/db_dependent/Auth.t line 151.
    #          got: '0'
    #     expected: '1'

    #   Failed test 'With TestAuth plugin, checkpw returns test cardnumber'
    #   at t/db_dependent/Auth.t line 152.
    #          got: undef
    #     expected: 'test'
    not ok 13 - With TestAuth plugin, checkpw returns test userid

    #   Failed test 'With TestAuth plugin, checkpw returns test userid'
    #   at t/db_dependent/Auth.t line 153.
    #          got: undef
    #     expected: 'test'
    # Looks like you failed 4 tests of 13.
not ok 4 - no_set_userenv parameter tests

#   Failed test 'no_set_userenv parameter tests'
#   at t/db_dependent/Auth.t line 154.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list