aboutsummaryrefslogtreecommitdiff
path: root/modules/auth/ldap/ldap_test.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-16 14:31:54 +0800
committerUnknwon <u@gogs.io>2015-08-16 14:31:54 +0800
commit55ccb00a47e580efc1cf184e31dd19f05137a4b3 (patch)
treead538b0525a886c8f1c0549709e8b97ac8e811d0 /modules/auth/ldap/ldap_test.go
parent6d3e5a36a1d81cc690807768de3f686699f4c171 (diff)
parentf8a4ab25fda9731803e787160f54d767d1b57eef (diff)
Merge branch 'develop' of https://github.com/SergioBenitez/gogs into develop
# Conflicts: # modules/bindata/bindata.go
Diffstat (limited to 'modules/auth/ldap/ldap_test.go')
-rw-r--r--modules/auth/ldap/ldap_test.go29
1 files changed, 0 insertions, 29 deletions
diff --git a/modules/auth/ldap/ldap_test.go b/modules/auth/ldap/ldap_test.go
deleted file mode 100644
index a842eebf..00000000
--- a/modules/auth/ldap/ldap_test.go
+++ /dev/null
@@ -1,29 +0,0 @@
-package ldap
-
-// import (
-// "fmt"
-// "testing"
-// )
-
-// var ldapServer = "ldap.itd.umich.edu"
-// var ldapPort = 389
-// var baseDN = "dc=umich,dc=edu"
-// var filter = []string{
-// "(cn=cis-fac)",
-// "(&(objectclass=rfc822mailgroup)(cn=*Computer*))",
-// "(&(objectclass=rfc822mailgroup)(cn=*Mathematics*))"}
-// var attributes = []string{
-// "cn",
-// "description"}
-// var msadsaformat = ""
-
-// func TestLDAP(t *testing.T) {
-// AddSource("test", ldapServer, ldapPort, baseDN, attributes, filter, msadsaformat)
-// user, err := LoginUserLdap("xiaolunwen", "")
-// if err != nil {
-// t.Error(err)
-// return
-// }
-
-// fmt.Println(user)
-// }