feat: DingTalk provider value case unsensitive (#724)

This commit is contained in:
Resulte Lee
2022-04-30 16:20:20 +08:00
committed by GitHub
parent 8e48bddf5f
commit 912d9d0c01
2 changed files with 12 additions and 1 deletions

View File

@ -97,3 +97,14 @@ func TestGetMaskedUsers(t *testing.T) {
})
}
}
func TestGetUserByField(t *testing.T) {
InitConfig()
user := GetUserByField("built-in", "DingTalk", "test")
if user != nil {
t.Logf("%+v", user)
} else {
t.Log("no user found")
}
}