[PR #3897] [MERGED] Add LDAP integration tests #17133

Closed
opened 2025-11-02 12:27:06 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3897
Author: @lafriks
Created: 5/5/2018
Status: Merged
Merged: 5/11/2018
Merged by: @lunny

Base: masterHead: feat/test_ldap_auth


📝 Commits (7)

  • 957becb Add LDAP service for tests
  • 4b01a54 Add LDAP login source and test user sign-in
  • e357a83 Add checks to test if user data is correct
  • 4c74e3d Add LDAP user sync test
  • 1d19932 Add failed user sign-in test
  • 98a910c Merge branch 'master' into feat/test_ldap_auth
  • 058e81d Merge branch 'master' into feat/test_ldap_auth

📊 Changes

3 files changed (+203 additions, -0 deletions)

View changed files

📝 .drone.yml (+8 -0)
integrations/auth_ldap_test.go (+194 -0)
models/fixtures/login_source.yml (+1 -0)

📄 Description

Test for adding LDAP (via BindDN) auth source, test if user can sign in with LDAP username and password, test for ldap user sync


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/3897 **Author:** [@lafriks](https://github.com/lafriks) **Created:** 5/5/2018 **Status:** ✅ Merged **Merged:** 5/11/2018 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `feat/test_ldap_auth` --- ### 📝 Commits (7) - [`957becb`](https://github.com/go-gitea/gitea/commit/957becba288dd8b15e955179287166f0c6e7d14f) Add LDAP service for tests - [`4b01a54`](https://github.com/go-gitea/gitea/commit/4b01a542c6e5a979505338cca05489710c209c5c) Add LDAP login source and test user sign-in - [`e357a83`](https://github.com/go-gitea/gitea/commit/e357a838737908d3a49c15f9a7bfaebbfc1e6e0c) Add checks to test if user data is correct - [`4c74e3d`](https://github.com/go-gitea/gitea/commit/4c74e3d714ed45cdeb96b4569deaba96eec6aed5) Add LDAP user sync test - [`1d19932`](https://github.com/go-gitea/gitea/commit/1d19932d92ca55d147331c9571adbaeb10183690) Add failed user sign-in test - [`98a910c`](https://github.com/go-gitea/gitea/commit/98a910c1f7aafe1f9f785c3557bd22bdf44999cd) Merge branch 'master' into feat/test_ldap_auth - [`058e81d`](https://github.com/go-gitea/gitea/commit/058e81d3f1b6968a45ba9e16c2bb1a406e4a9ccf) Merge branch 'master' into feat/test_ldap_auth ### 📊 Changes **3 files changed** (+203 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `.drone.yml` (+8 -0) ➕ `integrations/auth_ldap_test.go` (+194 -0) ➕ `models/fixtures/login_source.yml` (+1 -0) </details> ### 📄 Description Test for adding LDAP (via BindDN) auth source, test if user can sign in with LDAP username and password, test for ldap user sync --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:27:06 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#17133