Commit Graph

1444 Commits

Author SHA1 Message Date
Maxime Besson 012b41b2b1 add Xpath lookup method in test lib 2022-10-10 16:56:33 +02:00
Maxime Besson 7bb84f5bb1 Store MIME message in smtp lib 2022-10-07 10:09:12 +02:00
Maxime Besson ccb898f24a Fix #2802 2022-10-03 18:47:09 +02:00
Maxime Besson 998b38e959 Remove broken samlIDPMetaDataOptionsAllowProxiedAuthn option 2022-09-29 10:24:29 +02:00
Maxime Besson 9a91158378 Make test-lib more user friendly 2022-09-23 09:56:21 +02:00
Maxime Besson de2f0b0731 Unit test for #2799 2022-09-21 10:40:15 +02:00
Maxime Besson e7b449bf04 Unit test for #2796 2022-09-15 14:25:40 +02:00
Maxime Besson dfcb11f203 Unit test for samlBuildAuthnResponse 2022-09-02 15:51:27 +02:00
Maxime Besson d6efecb6cc Fix unit tests for #2791 2022-09-02 15:03:08 +02:00
Christophe Maudoux a347014e69 Update langs & conf files & doc & test (#2674) 2022-08-30 23:17:03 +02:00
Christophe Maudoux c9449ed41d Fix unit test (#2712) 2022-08-28 23:23:32 +02:00
Christophe Maudoux 3d5e7f8b05 Do not check selfRegistration (#2712) 2022-08-28 23:15:04 +02:00
David Coutadeur a99dbbe998 rememberAuthChoice: resolve conflicts with 2.0 branch (#2737) 2022-07-29 13:18:05 +00:00
Maxime Besson 85888a9986 Unit test for #2615 2022-07-21 16:04:16 +02:00
Christophe Maudoux 6b4c7d5272 Append unit test (#2775) 2022-07-19 20:02:22 +02:00
Maxime Besson 6e7fd58113 Include extra keys in oidcGenerateUserInfoResponse (#2725) 2022-07-18 17:59:18 +02:00
Maxime Besson 5a47d7e9bc Correctly report the calling location in test functions
With this change, failure in a test lib function (expectForm,
expectJWT...) will be reported at the calling location in the original
*.t test file, instead of being reported in the test lib

    t/30-SAML-ReAuth-with-choice.t .. 1/?
    #   Failed test ' URI match'
>>> #   at t/30-SAML-ReAuth-with-choice.t line 72.
2022-07-12 16:14:56 +02:00
alc a707cc13a5 Test checking post logout redirect failure when URI is not allowed 2022-07-08 17:10:38 +02:00
alc 47866fba35 #2607 Adding test about OIDC OP logout confirmation bypass when initiated by RP 2022-07-08 16:44:35 +02:00
Maxime Besson fb2da6634a unit test for #2690 2022-07-07 12:05:54 +02:00
Maxime Besson 7c5bbfd563 Unit test for #2713 2022-06-27 11:23:49 +02:00
Maxime Besson 4b9f788bf9 Unit tests for #2762 2022-06-27 11:06:07 +02:00
Yadd 46d43e69d9 Use Perltidy 20220217 (Closes: #2765) 2022-06-23 12:12:25 +02:00
Maxime Besson d3cb90a1cd Unit test for refresh token hooks (#2768) 2022-06-19 12:02:31 +02:00
Christophe Maudoux 7ad7ce8bac Pass encryption key to custom functions + Update doc 2022-06-18 18:53:57 +02:00
Maxime Besson aca5468100 Add unit test for old Captcha API (#2692) 2022-06-17 15:38:05 +02:00
Maxime Besson aef1ebc348 Fix unit tests for new Captcha API (#2692)
New API does not differentiate between empty and wrong captcha
2022-06-17 15:38:05 +02:00
Maxime Besson cd41ba8872 Merge branch 'fix-2fa-timeout-2757' into 'v2.0'
Add specific 2FA timeout (#2757)

See merge request lemonldap-ng/lemonldap-ng!269
2022-06-16 12:33:19 +00:00
Maxime Besson 3f783f4805 Unit test for #2760 2022-06-03 17:42:29 +02:00
Maxime Besson 095f69cd49 Unit test for #2757 2022-06-03 15:35:21 +02:00
Christophe Maudoux d80d66e07a Update unit test (#2759) 2022-06-03 09:31:24 +02:00
Maxime Besson 4edd5332bb Unit test for #2753 2022-05-18 11:35:02 +02:00
David Coutadeur ed03ce6a8e rememberAuthChoice: resolve conflicts with 2.0 branch (#2737) 2022-05-17 09:57:45 +00:00
Christophe Maudoux 17328aa2aa Append favicon option (#2750) 2022-05-16 22:32:11 +02:00
Christophe Maudoux 91a5aabf0b Merge branch '2745' into 'v2.0'
Use portalEnablePasswordDisplay option in password change/reset forms

See merge request lemonldap-ng/lemonldap-ng!265
2022-05-16 17:21:37 +00:00
Christophe Maudoux 1976e3e44b Use standard HTML attribute + update unit tests (#2745) 2022-05-16 13:38:23 +02:00
David Coutadeur 8f4eb83a2e rememberAuthChoice: reconciliation with v2.0 branch (#2737) 2022-05-16 10:06:23 +00:00
Christophe Maudoux 5a29ce8ffe Update unit tests 2022-05-16 00:09:27 +02:00
Christophe Maudoux 52bfd9f2c8 Improve unit test (#2745) 2022-05-15 23:41:23 +02:00
Christophe Maudoux a3c64ff3d7 Update unit test (#2745) 2022-05-15 12:08:30 +02:00
Christophe Maudoux 5490f60f74 Improve unit tests (#2733) 2022-05-13 23:27:52 +02:00
Maxime Besson 4a0ba0fea9 Unit tests for #2726 2022-05-02 17:36:22 +02:00
Maxime Besson 9da6310037 Add method in test lib to check session attributes 2022-05-02 17:36:22 +02:00
David Coutadeur 901a6d3697 add RememberAuthChoice Plugin (references #2737) 2022-04-20 17:36:33 +00:00
Maxime Besson bfd8e382c4 Fix unit test for #2730 2022-03-18 13:00:39 +01:00
Maxime Besson fefc81d5fa Unit tests for OIDC auth hooks (#2730) 2022-03-18 11:59:10 +01:00
Maxime Besson 6ccdcec181 Unit tests for SAML auth hooks (#2730) 2022-03-18 11:59:10 +01:00
Maxime Besson d39d65f92e Test and doc for #2725 2022-03-11 12:07:51 +01:00
Christophe Maudoux 0e891d7d9c Append unit test (#2714) 2022-03-06 14:17:13 +01:00
Christophe Maudoux 5c7a69e57b Fix warnings (#2704) 2022-02-19 11:30:45 +01:00