summaryrefslogtreecommitdiff
path: root/internal/suites/suite_haproxy.go
diff options
context:
space:
mode:
authorAmir Zarrinkafsh <nightah@me.com>2020-11-27 20:59:22 +1100
committerGitHub <noreply@github.com>2020-11-27 20:59:22 +1100
commitaa64d0c4e542f0504d4388a6f3ac0fed83d3b696 (patch)
treee0cac85560a13ab6e702a5ac46483a5c4de8c746 /internal/suites/suite_haproxy.go
parentffde77bdfd4aa8a153f7d145d85cb67bba6519ea (diff)
[FEATURE] Support MSAD password reset via unicodePwd attribute (#1460)
* Added `ActiveDirectory` suite for integration tests with Samba AD * Updated documentation * Minor styling refactor to suites * Clean up LDAP user provisioning * Fix Authelia home splash to reference correct link for webmail * Add notification message for password complexity errors * Add password complexity integration test * Rename implementation default from rfc to custom * add specific defaults for LDAP (activedirectory implementation) * add docs to show the new defaults * add docs explaining the importance of users filter * add tests * update instances of LDAP implementation names to use the new consts where applicable * made the 'custom' case in the UpdatePassword method for the implementation switch the default case instead * update config examples due to the new defaults * apply changes from code review * replace schema default name from MSAD to ActiveDirectory for consistency * fix missing default for username_attribute * replace test raising on empty username attribute with not raising on empty Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
Diffstat (limited to 'internal/suites/suite_haproxy.go')
-rw-r--r--internal/suites/suite_haproxy.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/internal/suites/suite_haproxy.go b/internal/suites/suite_haproxy.go
index 94a4460af..a571a47f8 100644
--- a/internal/suites/suite_haproxy.go
+++ b/internal/suites/suite_haproxy.go
@@ -20,13 +20,11 @@ func init() {
})
setup := func(suitePath string) error {
- err := dockerEnvironment.Up()
-
- if err != nil {
+ if err := dockerEnvironment.Up(); err != nil {
return err
}
- return waitUntilAutheliaIsReady(dockerEnvironment)
+ return waitUntilAutheliaIsReady(dockerEnvironment, haproxySuiteName)
}
displayAutheliaLogs := func() error {