[Koha-bugs] [Bug 21817] Mock userenv should be a t::lib::Mocks method
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Dec 11 15:21:30 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21817
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Signed Off |Failed QA
--- Comment #4 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
All looks good! But some new warnings are generated and some tests fail.
To reproduce:
$ kshell
k$ git diff HEAD~ --name-only | grep -e '\.t$' | xargs prove
=> FAIL: Tests fail:
...
t/db_dependent/Acquisition/NewOrder.t ........................ 1/8
# Failed test 'Koha::Acquisition::Order->store set created_by to logged in
user if not given'
# at t/db_dependent/Acquisition/NewOrder.t line 92.
# got: '51'
# expected: '42'
# Looks like you failed 1 test of 8.
t/db_dependent/Acquisition/NewOrder.t ........................ Dubious, test
returned 1 (wstat 256, 0x100)
Failed 1/8 subtests
t/db_dependent/ArticleRequests.t ............................. ok
t/db_dependent/Bookseller.t .................................. 28/86
# Failed test 'ordinary user can see only their library's subscriptions with
IndependentBranches on'
# at t/db_dependent/Bookseller.t line 667.
# got: '0'
# expected: '1'
# Looks like you failed 1 test of 86.
t/db_dependent/Bookseller.t .................................. Dubious, test
returned 1 (wstat 256, 0x100)
Failed 1/86 subtests
...
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list