Bug 28787: (follow-up) Typo and additional test
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 8 Jul 2022 09:38:55 +0000 (09:38 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 9 Aug 2022 16:38:45 +0000 (13:38 -0300)
commit12305c89d745cfb4d02b7a8600c4550b83465eec
tree30f8dd1da2bf82199bee2e050993c763ef77f6f6
parent2568234cdade350b7db83325b8375e1acdb06208
Bug 28787: (follow-up) Typo and additional test

Adding a test for a 403 status when lowering authorization.
The Auth mock for check_cookie_auth is not needed here.
Reading back the session after flush either.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Sponsored-by: Rijksmuseum, Netherlands
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/REST/V1/Auth.pm
t/db_dependent/api/v1/two_factor_auth.t