]> git.koha-community.org Git - koha.git/commit
Bug 20854: Add more CAS tests
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 16 Mar 2021 19:46:14 +0000 (16:46 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 29 Apr 2021 11:57:51 +0000 (13:57 +0200)
commit225517a0f3dfed730c1afe38e8a262f8fe02d28e
tree94a04051ba38e6dae00f01104ba8cde85d32f142
parent26e7262963c2744bdec91a1f7487a830c9017120
Bug 20854: Add more CAS tests

This patch aims to add full test coverage for 'logout_cas' the way we do
it nowadays (in a subtest, mocking things, etc). It is provided as a
separate patch so we can test the follow-up tidy and see no behavior
change.

To test:
1. Run:
   $ kshell
  k$ prove t/db_dependent/Auth_with_cas.t
=> SUCCESS: Tests pass!
2. Apply this patch
3. Repeat 1
=> SUCCESS: Tests pass!
4. Apply the refactoring follow-up
5. Repeat 3
=> SUCCESS: Tests still pass!
6. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit c71dda04c605b68b439e1a0ea3132447eeb28b45)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/Auth_with_cas.t