[Bug 36084] Pass CSRF token to SVC scripts (1/2)
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36084 --- Comment #38 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 162712 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162712&action=edit Bug 36084: Fix cookie domain for www/ tests This patch changes the hardcoded `koha.local` value on t::lib::Mocks::Zebra so tests don't fail when the domain is not `koha`. To test: 1. Run: $ ktd --shell k$ export KOHA_INTRANET_URL=http://kohadev-intra.myDNSname.org:8081 k$ prove t/db_dependent/www/batch.t => FAIL: Tests fail! 2. Apply this patch 3. Repeat 1 => SUCCESS: Tests pass! 4. Sign off :-D Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org