]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 21 Apr 2021 08:51:29 +0000 (10:51 +0200)
commitc71dda04c605b68b439e1a0ea3132447eeb28b45
tree078ba1b7a09fff8e7fd5c9c8159044791c5a45b1
parent91307707ed2ff874ec5e2f25658a286019204e54
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>
t/db_dependent/Auth_with_cas.t