https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23068
--- Comment #46 from Kyle M Hall <[email protected]> --- koha_trusted_proxies is a config setting from the Koha conf xml file, so mock_preference won't work on that. You'll want to use mock_config instead. (In reply to David Cook from comment #45) > (In reply to Martin Renvoize from comment #44) > > Thanks David, that's great news. > > Finally getting around to this... > > Have to leave for the night but the following isn't working for some reason: > > t::lib::Mocks::mock_preference('koha_trusted_proxies', '1.1.1.1'); > > Will have to look at this more tomorrow... -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
