Implementing server side of LDAP sync now button (#3430)

Этот коммит содержится в:
Christopher Speller
2016-06-28 20:11:33 -04:00
коммит произвёл Corey Hulen
родитель b3b90a7531
Коммит 6c5a8be6bf
3 изменённых файлов: 44 добавлений и 0 удалений

Просмотреть файл

@@ -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")
}
}