Implementing server side of LDAP sync now button (#3430)
Этот коммит содержится в:
коммит произвёл
Corey Hulen
родитель
b3b90a7531
Коммит
6c5a8be6bf
@@ -493,3 +493,12 @@ func TestAdminResetPassword(t *testing.T) {
|
||||
t.Fatal("Should have errored - not sytem admin")
|
||||
}
|
||||
}
|
||||
|
||||
func TestAdminLdapSyncNow(t *testing.T) {
|
||||
th := Setup().InitSystemAdmin()
|
||||
Client := th.SystemAdminClient
|
||||
|
||||
if _, err := Client.LdapSyncNow(); err != nil {
|
||||
t.Fatal("Returned Failure")
|
||||
}
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user