]> git.koha-community.org Git - koha.git/commit
Bug 14144: Silence warnings t/db_dependent/Auth_with_ldap.t
authorMark Tompsett <mtompset@hotmail.com>
Mon, 4 Apr 2016 22:07:26 +0000 (18:07 -0400)
committerJulian Maurice <julian.maurice@biblibre.com>
Mon, 16 May 2016 10:04:33 +0000 (12:04 +0200)
commitfb1862dca6468f528bbb1d145216aa23c689ed06
treed9d853da3b8f23e8dbcb1011a43ad17571412200
parent629b4f1136648b9dcf0d47fef79eea18eb3c675a
Bug 14144: Silence warnings t/db_dependent/Auth_with_ldap.t

Revisiting this bug, I noticed that C4::Context->config() was mocked
poorly. I expanded the mock function a little and have quieted the
test which seemed to be working in a broken manner before.

TEST PLAN
---------
1) prove t/db_dependend/Auth_with_ldap.t
   -- shibboleth noise
2) apply this patch
3) prove t/db_dependend/Auth_with_ldap.t
   -- no noise
4) run koha qa test tools

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit b140c4b2fdc894c0d53eca2bf2f2bb5cb1982a91)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
t/db_dependent/Auth_with_ldap.t