[Koha-bugs] [Bug 36177] We need integration tests to cover csrf checks

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 29 09:04:53 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36177

--- Comment #7 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(In reply to Tomás Cohen Arazi from comment #5)
> (In reply to Jonathan Druart from comment #4)
> > Tomas, can you help here? 'db' needs to be resolved from the container.
> 
> 'db' is resolved inside the container, so we should be fine.

Indeed, the tests are passing inside the container. No idea what changed since
I wrote them.

> That said... cannot we ship some template instead, and have a helper script
> that picks env variables and does what is needed instead? Having that also
> for the baseUrl and friends would also make it easier for running Cypress on
> the sandboxes, etc.

Yes, maybe. Feel free to open a new bug and provide a patch. I don't see it as
an important need right now.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list