fix(clients): fix incorrect client naming

This commit is contained in:
hexxa 2022-08-06 10:01:28 +08:00 committed by Hexxa
parent f0293fbc4c
commit 48b0ff2df0
14 changed files with 106 additions and 41 deletions

View file

@ -62,7 +62,7 @@ func TestSettingsHandlers(t *testing.T) {
t.Fatal("fail to start server")
}
usersCl := client.NewSingleUserClient(addr)
usersCl := client.NewUsersClient(addr)
resp, _, errs := usersCl.Login(adminName, adminPwd)
if len(errs) > 0 {
t.Fatal(errs)