Bug 14144: Silence warnings t/db_dependent/Auth_with_ldap.t
commitb140c4b2fdc894c0d53eca2bf2f2bb5cb1982a91
authorMark Tompsett <mtompset@hotmail.com>
Mon, 4 Apr 2016 22:07:26 +0000 (4 18:07 -0400)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 29 Apr 2016 12:40:16 +0000 (29 12:40 +0000)
tree3c00c590db9b0d835708a87799a28ebb4a4fd6ab
parentcf705bdd0e1a982cbc386509cd7d676e6930a349
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>
t/db_dependent/Auth_with_ldap.t