Bug 31243 - Misleading tests in api/v1/two_factor_auth.t
Summary: Misleading tests in api/v1/two_factor_auth.t
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Test Suite (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low minor (vote)
Assignee: Jonathan Druart
QA Contact: Testopia
URL:
Keywords:
Depends on: 28787
Blocks:
  Show dependency treegraph
 
Reported: 2022-07-27 06:56 UTC by Jonathan Druart
Modified: 2023-06-08 22:26 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Druart 2022-07-27 06:56:47 UTC
Somewhere in the script: # Patron is not authenticated yet

But it's not correct, we set 'number' and 'id' in session, the patron has filled in their credentials, they are correct, but the second authentication step is not passed yet.
Comment 1 Jonathan Druart 2022-07-27 07:02:56 UTC
Well, bug 28787 is not pushed yet. Adding the patch there.